Secure ssh host

Modify the /etc/ssh/sshd_config file and turn on the following section (remove the # char)

#LoginGraceTime 2m
#PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6

/etc/init.d/sshd restart

Leave a Reply