ssh monitoring failed ssh logins code example Example: ssh monitoring failed ssh logins # grep "Failed password" /var/log/auth.log