Closed c3c1 closed 1 year ago
Looking further into this, not only is rsa1 not going to work, the test to 127.0.0.1 also fails.
/usr/share/perl5/vendor_perl/Smokeping/probes/SSH.pm
Proposed changes here would be to fold in the commit from the linked thread?
We pull in the latest upstream in the Dockerfile. Would you be so kind as to submit a PR if you already know what you expect the fix to be?
Is there a chance to get that fixed for this docker image?
ERROR: output of '/usr/bin/ssh-keyscan -t dsa,rsa,ecdsa 127.0.0.1' does not match (?^i:^# \S+ SSH-) at (eval 108) line 1.
Is there an existing issue for this?
Current Behavior
ERROR: output of '/usr/bin/ssh-keyscan -t dsa,rsa,rsa1 127.0.0.1' does not match (?^i:^# \S+ SSH-)
See; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946852
Expected Behavior
/usr/bin/ssh-keyscan -t rsa 127.0.0.1
127.0.0.1:22 SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1
127.0.0.1 ssh-rsa AAAA
Steps To Reproduce
Add to smokeping/config/Probes
binary = /usr/bin/ssh-keyscan # mandatory forks = 5 offset = 70% step = 60 timeout = 10
The following variables can be overridden in each target section
keytype = dsa pings = 4 port = 22
Environment
CPU architecture
x86-64
Docker creation
Container logs