-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
3.0.4
-
None
Hello,
I'm not able to connect to ExtremeNetworks switches using Zabbix SSH agent item. It is working with the classic openssh client. It does not seem to depend on ExtremeXOS version (we've tried that latest). We got this on the zabbix_server log :
error: Cannot establish SSH session:
We've narrow it down to a problem with the libssh2 banner. We adapted the "ssh2.c" example program from the libssh2 project to take a banner as an argument (using libssh2_session_banner_set function) Here is the result :
This is not working :
$ ./ssh2 192.168.0.10 admin xxxx SSH-2.0-libssh2_1.7.0_DEV
Failure establishing SSH session
$ ./ssh2 192.168.0.10 admin xxxx SSH-2.0-libssh2_
Failure establishing SSH session
But this is working :
$ ./ssh2 192.168.0.10 admin xxxx SSH-2.0-libssh2
Fingerprint: F9 72 8F 75 1E 2B F8 63 E9 19 77 B6 6C 50 C1 13 B4 80 77 5D
$ ./ssh2 192.168.0.10 admin xxxx SSH-2.0-libssh42
Fingerprint: F9 72 8F 75 1E 2B F8 63 E9 19 77 B6 6C 50 C1 13 B4 80 77 5D
$ ./ssh2 192.168.0.10 admin xxxx SSH-2.0-libssh
Fingerprint: F9 72 8F 75 1E 2B F8 63 E9 19 77 B6 6C 50 C1 13 B4 80 77 5D
$ ./ssh2 192.168.0.10 admin xxxx SSH-2.0-zabbix
Fingerprint: F9 72 8F 75 1E 2B F8 63 E9 19 77 B6 6C 50 C1 13 B4 80 77 5D
And of course :
$ ./ssh2 192.168.0.10 admin xxxx SSH-2.0-OpenSSH_5.3
Fingerprint: F9 72 8F 75 1E 2B F8 63 E9 19 77 B6 6C 50 C1 13 B4 80 77 5D
This makes absolutly no sense at all and we are working with upstream (ExtremeNetworks) to understand this behaviour.
From my point of view a workaround could be implemented in zabbix_server by offering the option to set the ssh banner.
Jean-Baptiste
- duplicates
-
ZBXNEXT-3411 SSH agent banner configuration
- Open