Created
February 9, 2024 15:30
-
-
Save sbryans/5227e279c58bc384168c8090d77434ac to your computer and use it in GitHub Desktop.
Show failed SSH attempts.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep "Failed" /var/log/auth.log | awk '{print $11}' | uniq -c | sort -nr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment