Security

Disable the root login for SSH

To stop the direct root access you have to edit the SSH configuration file located at “/etc/ssh/sshd_config” Open the file with your favorite editor and locate the ‘Authentication’ section. There set PermitRootLogin to be “no” as in the example bellow. ################## # Authentication: #LoginGraceTime 2m PermitRootLogin no #StrictModes yes #MaxAuthTries 6 ################## Once you are […]