Comment on How to harden against SSH brute-forcing?
cron@feddit.org 3 weeks agoI don’t really get the love for fail2ban. Sure, it helps keep your logs clean, but with a solid SSH setup (root disabled, SSH keys enforced), I’m not bothered by the login attempts.
sugar_in_your_tea@sh.itjust.works 3 weeks ago
You should be. Most of it’s noise, but if there’s a serious attack, you’ll appreciate clean logs.
I think fail2ban is nice as like a third or fourth layer of defense. In order of my priorities:
If you’re not going to do 3-5, at least change the default SSH port to cut down on log noise.