I would like to change SSHD from port 22 to another port. that is under 1024.
Because people keep hammering away on port 22.
If that is not good, then how can I change it so that SSHD limits users to waiting 5 minutes after 3 bad login attempts?
I would like to change SSHD from port 22 to another port. that is under 1024.
Because people keep hammering away on port 22.
If that is not good, then how can I change it so that SSHD limits users to waiting 5 minutes after 3 bad login attempts?
Changing the port is a good idea. You really ought to use an ephemeral port (i.e. >1024) and you can do that in /etc/ssh/sshd_config then restart sshd. Remember to open the port if you use a firewall.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com