Security By Hank

資安:SSH Hardening SOP

Linux Server 加固

編輯 /etc/ssh/sshd_config

  1. PermitRootLogin no (禁止 Root 直連)
  2. PasswordAuthentication no (強制使用 Key)
  3. Port 2222 (修改預設 Port,減少掃描)
  4. 使用 Fail2Ban 封鎖暴力破解 IP。