To secure the server direct root login always need to be disabled.We should disable direct root access on the sshd_config file and use only protocol 2 which is more secure.
1) vi /etc/ssh/sshd_config
2) Change Protocol 2,1 to Protocol 2
4) PermitRootLogin yes = no
5) Restart SSHD: /etc/rc.d/init.d/sshd restart






Reply With Quote
Bookmarks