Login Attacks · about 15 minutes
Stop Login Attacks
What This Means
Bots are trying passwords on this server.
Why It Matters
Every internet server gets this. The fix is to make guessing useless and to block the addresses doing it.
- 1
See who's trying
The addresses with the most failed logins in the last day.
journalctl -u ssh --since '24 hours ago' | grep -oE 'from [0-9.]+' | sort | uniq -c | sort -rn | head
- 2
Make guessing useless
Follow Turn Off SSH Password Logins: with keys only, no guess can work.
- 3
Block the addresses doing it
Follow Block Repeat Login Attackers With fail2ban, or let Frabs block them at the network for every server you run.
Check It’s Fixed
Run the security report again. This check should now pass.