Remove SSH root access - samuelGreitzer/SYS255-tech-journal GitHub Wiki
-
get root access
-
open this file /etc/ssh/sshd_config with a text editor
-
locate the line that says "PermitRootLogin"
-
it should have a "yes" next to it, change that "yes" to a "no" and make sure the line isn't commented
-
reload sshd