lastbコマンドを使用することにより不正なログイン一覧を表示します。
尚、sshを利用してパスワード間違いをしても記録されません。
(参考資料:sshによる不正アクセスを確認する)
lastbコマンドの実行例です。
lastbコマンドはrootにて実行してください。
# lastb root ssh:notty xxxxxxxxxxxxxxxx Wed Oct 8 11:39 - 11:39 (00:00) root ssh:notty xxxxxxxxxxxxxxxx Wed Oct 8 10:51 - 10:51 (00:00) root ssh:notty xxxxxxxxxxxxxxxx Wed Oct 8 10:51 - 10:51 (00:00) root ssh:notty xxxxxxxxxxxxxxxx Wed Oct 8 10:51 - 10:51 (00:00) root ssh:notty xxxxxxxxxxxxxxxx Wed Oct 8 10:50 - 10:50 (00:00) root ssh:notty xxx.xxx.xx.xx Wed Oct 8 09:44 - 09:44 (00:00) root ssh:notty xx.xx.xx.xxx Wed Oct 8 07:39 - 07:39 (00:00) root ssh:notty xx.xx.xx.xxx Wed Oct 8 07:39 - 07:39 (00:00) root ssh:notty xx.xx.xx.xxx Wed Oct 8 07:39 - 07:39 (00:00) root ssh:notty xx.xxx.xxx.xxx Wed Oct 8 07:39 - 07:39 (00:00) <snip>
lastbコマンドの使いかたはlastコマンドと同様です。
以下の記事を参考にしてください。