/var/log/auth.log 中记录了SSH登录尝试,如果没有此文件,可尝试重启syslog: service syslog restart
SSH证书登录
sudo apt install fail2ban
fail2ban-client status sshd