Created
February 12, 2019 20:32
-
-
Save abrahamfast/4a4aedc7230bbe5a67173d141820305d to your computer and use it in GitHub Desktop.
zgrep ssh auth fails
This file contains hidden or 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
zgrep sshd /var/log/auth.log* | grep rhost | sed -re 's/.*rhost=([^ ]+).*/\1/' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment