Securing SSH - rune-seregina/sys-255-fa24 GitHub Wiki

how to allow or deny access to SSH for a user on Rocky Linux

  • vi /etc/ssh/sshd_config
  • PermitRootLogin no
  • Screenshot 2024-09-19 141315
  • failed log in attempts with access denied:
  • image
  • how to see the log
  • should be in /var/log/secure and grep "not met"
  • here is the journalctl command
  • Screenshot 2024-09-19 141605
⚠️ **GitHub.com Fallback** ⚠️