Jul 10, 2017

How to disable root SSH logins



To prevent root logins via the SSH protocol, edit the SSH daemon's configuration file, /etc/ssh/sshd_config, and change the line that reads:
#PermitRootLogin yes
to read as follows:
#PermitRootLogin no