查看攻击失败记录:

grep "Failed password for invalid user admin" /var/log/auth.log

查看攻击成功的记录:

grep "Accepted password for root from" /var/log/auth.log



查看开启的服务:
netstat -nltp

配置ssh文件:
vim /etc/ssh/sshd_config


 

相关文章:

  • 2022-01-06
  • 2021-10-03
  • 2021-04-12
  • 2021-07-30
  • 2022-01-05
  • 2021-04-17
  • 2021-11-16
猜你喜欢
  • 2021-08-27
  • 2022-03-01
  • 2021-12-05
  • 2021-10-25
  • 2022-02-20
  • 2021-06-27
  • 2021-12-15
相关资源
相似解决方案