Fix example ssh_banner check: Send identificaation string
authorMarcus Röder <m.roeder@yieldlab.de>
Wed, 5 May 2021 12:59:18 +0000 (14:59 +0200)
committerMarcus Röder <m.roeder@yieldlab.de>
Wed, 5 May 2021 15:56:13 +0000 (17:56 +0200)
This is to reduce log spam:

"sshd[3750]: Did not receive identification string from ..:"

There will still be a "Connection closed by" message.

Signed-off-by: Marcus Röder <m.roeder@yieldlab.de>
blackbox.yml

index a7f58cb1df28c7ccbecf85df54fab488e20b33c0..65c97cc0c67246e2c40db72dcd6f9c4b6f5c9a05 100644 (file)
@@ -20,6 +20,7 @@ modules:
     tcp:
       query_response:
       - expect: "^SSH-2.0-"
+      - send: "SSH-2.0-blackbox-ssh-check"
   irc_banner:
     prober: tcp
     tcp: