Remove SSH root access - samuelGreitzer/SYS255-tech-journal GitHub Wiki

  1. get root access

  2. open this file /etc/ssh/sshd_config with a text editor

  3. locate the line that says "PermitRootLogin"

  4. it should have a "yes" next to it, change that "yes" to a "no" and make sure the line isn't commented

  5. reload sshd