Spurious SSH Alerts in systemd‑journald: A Quick Filter Fix
I’ve spent a lot of time staring at the journalctl -u sshd output on busy servers. Every minute a bot tries something, and the journal fills with lines that look like:
Aug 12 12:34:56 host sshd[1234]: Failed password for invalid user admin from 203.0.113.42 port 54321 ssh2
If you forward every Failed password line straight to a SIEM or just watch the console, you’ll be drowning in alerts that are usually nothing more than failed logins from bots, mistyped passwords, or legitimate users on a shared workstation. The noise makes it hard to spot the real bad guys.