Securing SSH - natekreit/SYS-255 GitHub Wiki

Summary

Learned how to block root user logins remotely.

Commands

  1. Vi /etc/ssh/sshd_config
  2. Change the root login availability to no
  3. Save and exit the file
  4. Sudo systemctl restart sshd
  5. Logout and log back in