![Auth.log 中满是未收到来自 xx.xx.xx.xx 的识别字符串](https://linux22.com/image/754766/Auth.log%20%E4%B8%AD%E6%BB%A1%E6%98%AF%E6%9C%AA%E6%94%B6%E5%88%B0%E6%9D%A5%E8%87%AA%20xx.xx.xx.xx%20%E7%9A%84%E8%AF%86%E5%88%AB%E5%AD%97%E7%AC%A6%E4%B8%B2.png)
我的 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?