this post was submitted on 18 Mar 2026
1 points (66.7% liked)

DevOps

2099 readers
2 users here now

DevOps integrates and automates the work of software development (Dev) and IT operations (Ops) as a means for improving and shortening the systems development life cycle.

Rules:

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

Wrote up the 5 steps I run on every new server before doing anything else. Nothing novel for experienced admins, but useful as a checklist:

  1. ed25519 key auth
  2. Disable PasswordAuthentication
  3. Non-standard port (kills 99% of brute force noise)
  4. fail2ban (3 attempts, 1h ban)
  5. AllowUsers + MaxAuthTries limits

Full commands and sshd_config snippets in the article. What would you add?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here