Securing SSH - rosepheobieshea/SYS-255-Tech-Journal GitHub Wiki

To diable root access over SSH do the following:

  1. Open /etc/ssh/sshd_config
  2. Comment out PermitRootLogin yes
  3. Restart sshd with systemctl restart shhd