Analyze SSH failed login events in Linux auth logs. Distinguish between typos, misconfigurations, and active attacks by understanding failed authentication patterns and their security implications.
Mar 8 15:10:22 dbserver sshd[23456]: Failed password for jsmith from 10.0.5.142 port 49821 ssh2 Mar 8 15:10:25 dbserver sshd[23457]: Connection closed by authenticating user jsmith 10.0.5.142 port 49822 [preauth] Mar 8 15:10:30 dbserver sshd[23458]: Failed publickey for jsmith from 10.0.5.142 port 49823 ssh2