Discussion:
[smokeping-users] SSH probe fails when smokeping host does not support SSHv1
Kent Kuriyama
2018-07-06 13:39:02 UTC
Permalink
I would like to propose a change to "SSH.pm" so that it does not check for
SSHv1 hosts.

When the SSH probe (SSH.pm) is enabled it executes:

'/usr/bin/ssh-keyscan -t dsa,rsa,rsa1 127.0.0.1'

upon startup. Note the key type 'rsa1' is explicitly being checked for and
fails if ssh-keygen is compiled with SSHv2 support only. I propose that
the snippet of code be changed to:

'/usr/bin/ssh-keyscan -t dsa,rsa 127.0.0.1'

Under the recently released FreeBSD 11.2, SSHv1 is not supported by default
and thus disables the smokeping daemon. If SSHv1 must be supported can a
configuration switch be added so that SSHv2 only hosts can startup? Thank
you.
--
Kent, ***@gmail.com
Christian Recktenwald
2018-07-06 15:53:24 UTC
Permalink
I doubt if scanning for sshv1 is of real practical use nowadays
it probably could have been disabled many years ago.

Feel free to change this.
Post by Kent Kuriyama
I would like to propose a change to "SSH.pm" so that it does not check for
SSHv1 hosts.
'/usr/bin/ssh-keyscan -t dsa,rsa,rsa1 127.0.0.1'
upon startup. Note the key type 'rsa1' is explicitly being checked for and
fails if ssh-keygen is compiled with SSHv2 support only. I propose that
'/usr/bin/ssh-keyscan -t dsa,rsa 127.0.0.1'
Under the recently released FreeBSD 11.2, SSHv1 is not supported by default
and thus disables the smokeping daemon. If SSHv1 must be supported can a
configuration switch be added so that SSHv2 only hosts can startup? Thank
you.
--
--
Christian Recktenwald
smokeping-***@citecs.de
Loading...