-
Change Request
-
Resolution: Fixed
-
Major
-
6.2.3
-
None
-
Ubuntu 22.04
-
Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023)
-
2
Steps to reproduce:
- In Zabbix create SSH check to old device like Cisco with RSA SHA1 only KEX.
- When you try to get data you have error:
- Cannot establish SSH session: kex error : no match for method server host key algo: server [ssh-rsa], client [ssh-dss]
Result:
- Cannot establish SSH session: kex error : no match for method server host key algo: server [ssh-rsa], client [ssh-dss]
- Looks like libssh in Zabbix ignores ~/.ssh/config and glogal ssh_config files.
Expected:
Getting data via ssh due to add to config file rsa:
cat /home/zabbix/.ssh/config Host * KexAlgorithms diffie-hellman-group1-sha1,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1 HostKeyAlgorithms +ssh-rsa,ssh-dss PubkeyAcceptedKeyTypes +ssh-rsa