I never understood why people would use fail2ban or similar approaches. Just set proper password and move on. SSH traffic is tiny, it's not a problem. You'll never be hacked with a proper password. Let them waste their time.
What SSH Hacking Attempts Look Like
11–20 of 186 posts
Re: What SSH Hacking Attempts Look Like
#12I never understood why people would use fail2ban or similar approaches. Just set proper password and move on. SSH traffic is tiny, it's not a problem. You'll never be hacked with a proper password. Let them waste their time.
Re: What SSH Hacking Attempts Look Like
#13I never understood why people would use fail2ban or similar approaches. Just set proper password and move on. SSH traffic is tiny, it's not a problem. You'll never be hacked with a proper password. Let them waste their time.
Port knocking + key-based auth... What more do you need?
Re: What SSH Hacking Attempts Look Like
#14I never understood why people would use fail2ban or similar approaches. Just set proper password and move on. SSH traffic is tiny, it's not a problem. You'll never be hacked with a proper password. Let them waste their time.
Re: What SSH Hacking Attempts Look Like
#15Re: What SSH Hacking Attempts Look Like
#16My current take: nftables instead of iptables port-knocking non-standard port key+pass access/auth ip whitelist good logging ED25519 wherever possible!!!
Re: What SSH Hacking Attempts Look Like
#17I never understood why people would use fail2ban or similar approaches. Just set proper password and move on. SSH traffic is tiny, it's not a problem. You'll never be hacked with a proper password. Let them waste their time.
But when sshd ends up pegging an entire core, and I can't login myself anymore, then fail2ban (or even whitelisting IP ranges for ssh) becomes necessary.
Re: What SSH Hacking Attempts Look Like
#18Earlier quoted context omitted.
What benefit does port knocking add to having a key auth only setup?
What benefit does locking the glass doors into a bank add to having time-locked vault? Defense in depth.
I much prefer restricting port 22 to a few ip and disable passwords
Re: What SSH Hacking Attempts Look Like
#19Earlier quoted context omitted.
Port knocking + key-based auth... What more do you need?
What benefit does port knocking add to having a key auth only setup?
While port knocking is really just another layer of obscurity, obscurity works really well on scattershot/random attacks. An attacker dedicated to getting into your specific server is another matter but thankfully far more rare.
Re: What SSH Hacking Attempts Look Like
#20I don’t have logs from that server, but here are logs – just the failed attempts – of 2 months from a server that was less severely affected: https://s3.kuschku.de/public/failed_ssh [327M]
And that was despite already blocking massive areas of IP space already.