centos SSH 烦人的failed login attempts

好久没弄自己的VPS, 今天登录ssh 发现下面的警告
There were 16888 failed login attempts since the last successful login.
难道被攻击了??? 其实就是一种入侵检测 可用免密公钥私钥的方式登录 并将停掉输入密码验证的方式

补充 想看看哪些人没事来你家试着开锁吗
grep "Failed password for invalid user" /var/log/secure | awk '{print $13}' | sort | uniq -c | sort -nr | more

posted on 2020-04-04 22:25  阿锐#治面瘫  阅读(6392)  评论(0)    收藏  举报

导航