bananapeel42
New Member
- Messages
- 53
- Reaction score
- 0
- Location
- Manchester, UK
Ran a little experiment last month. Spun up a throwaway VPS on a cheap Dutch host, key-only SSH, port 22, no fail2ban, no Cloudflare, nothing fancy. Just sshd with root login disabled. Let auth.log pile up for 30 days.
Roughly 40k failed attempts. Zero successful logins. Not one. The bots aren't targeting your box, they're spraying a whole /8 and hoping somebody left root/root sitting there from a 2019 tutorial.
Meanwhile every hardening guide on the internet tells people to install fail2ban, move SSH to 2222, disable root, blah blah. The port move I'll defend, it's just noise reduction for your logs. But fail2ban on a key-only box is basically a log cleaner with a ban hammer attached. It makes you feel productive more than it makes you safer.
Where it actually earns its keep imo is anything with web logins. WordPress, phpMyAdmin, that kind of thing. Or a mail relay where you can't force keys on every client. Completely different animal there.
So what are you all actually running these days? I've got sshguard on the mail box and plain nftables sets for everything else. Fail2ban always felt like regex duct tape to me and I doubt I'm the only one who's quietly stopped installing it.