伙计们:
我正在使用黑盒导出器测试许多远程服务器ssh端口22,该模块是ssh_banner。问题是它总是在远程服务器上为每个ssh测试打印一个日志。
Oct 20 10:23:14 hpit32 sshd[14073]: Did not receive identification string from ******
Oct 20 10:23:16 hpit32 sshd[14074]: Did not receive identification string from ******有谁知道如何在不更改sshd日志级别或任何sshd配置的情况下解决此问题。
谢谢
发布于 2021-05-05 20:49:49
这对我来说很有效:
ssh_banner:
prober: tcp
timeout: 5s
tcp:
query_response:
- expect: "^SSH-2.0-"
- send: "SSH-2.0-blackbox-ssh-check"这已经让sshd感到高兴了。
https://stackoverflow.com/questions/58814166
复制相似问题