How to Secure LINUX Server tutorials - Disable Root Login
====================================================
Login to your server via SSH as root (You can use putty for login)
Type following command: pico /etc/ssh/sshd_config
#Find and Update these lines:
PermitRootLogin no
#Change port nuber to 5650
Port 5650
#Note - (Port number can be any number between 1024 to 65535 (above 30000 is best)
#Change Protocol
Protocol 2
#Change LoginGraceTime
LoginGraceTime 1m
#Change MaxAuthTries (User will not be allowed to login if he typed in wrong password for more than 3 times)
MaxAuthTries 3
Restart the SSHD Service from WHM
Additional Steps (If you are using CSF firewall)
-------------------------------------------------
Add the Port number you specified in sshd_config file, to CSF Firewall at TCP_IN and TCP_OUT.