Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Last active April 9, 2016 21:19
Show Gist options
  • Save kurozumi/71280c121d7f0f21041b2d13bc4891b4 to your computer and use it in GitHub Desktop.
Save kurozumi/71280c121d7f0f21041b2d13bc4891b4 to your computer and use it in GitHub Desktop.
SSHの不正なアクセス数を集計するコマンド
$ sudo lastb | awk '{print $1}' | sort | uniq -c | sort -nr | head -n 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment