Steps I run on every new server. Nothing groundbreaking, just the basics that eliminate 99% of brute force noise:

  1. Generate ed25519 key, copy to server
  2. Disable PasswordAuthentication in sshd_config
  3. Move to a non-standard port
  4. Install fail2ban (3 attempts, 1h ban)
  5. AllowUsers + MaxAuthTries 3

Full commands and config snippets in the writeup. Takes about 5 minutes start to finish.