Skip to content

Instantly share code, notes, and snippets.

@kevinkjt2000
Created May 29, 2019 02:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinkjt2000/e7545283db2a05ef8d544ed39e9a3a0f to your computer and use it in GitHub Desktop.
Save kevinkjt2000/e7545283db2a05ef8d544ed39e9a3a0f to your computer and use it in GitHub Desktop.
#!/bin/bash
journalctl -xe | awk '/sshd.*invalid user/{print $9}' | sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment