Auth.log 中满是未收到来自 xx.xx.xx.xx 的识别字符串

Auth.log 中满是未收到来自 xx.xx.xx.xx 的识别字符串

我的 sshd 服务器在 AWS EC2 实例上运行,您已将其配置在 Elastic Load Balancer 后面,并在 SSH 端口上进行健康检查,每次运行健康检查时,我都会在 auth.log 中看到以下消息。我的 /var/log/auth.log 中充满了这些消息,每秒都会发送垃圾邮件。IP(xx.5)来自我们的内部 LB IP。

Jul  8 09:49:16 ip-10-0-xx-11 sshd[10494]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:17 ip-10-0-xx-11 sshd[10495]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:18 ip-10-0-xx-11 sshd[10496]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:19 ip-10-0-xx-11 sshd[10497]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:20 ip-10-0-xx-11 sshd[10498]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:21 ip-10-0-xx-11 sshd[10499]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:21 ip-10-0-xx-11 sshd[10500]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:22 ip-10-0-xx-11 sshd[10502]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:22 ip-10-0-xx-11 sshd[10503]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:22 ip-10-0-xx-11 sshd[10505]: Did not receive identification string from 10.0.xx.5
Jul  8 09:49:22 ip-10-0-xx-11 sshd[10505]: Did not receive identification string from 10.0.xx.5

那么我怎样才能防止只有这些消息被记录到auth.log?

相关内容