Starting ssh on an Alternate Port

If you run a server on the Internet and you do any type of security logging, you know people are constantly trying to find vulnerabilities to your site through ssh. You’ll get pages and pages of PAM authentication errors. Avoiding this is not difficult, just change the port your sshd listens on. Modify the Port parameter in /etc/ssh/sshd_conf and run /etc/init.d/ssh restart. When you log into the system, specify the port on the command line with the -p option.

ssh -p 404 www.tiptopsoftwarecompany.com

Comments are closed.