Ad Widget

Collapse

Cannot establish SSH session: kex error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hawk128
    Junior Member
    • Jun 2018
    • 7

    #1

    Cannot establish SSH session: kex error

    Hi All,

    I have issue with Zabbix SSH checks:
    Cannot establish SSH session: kex error : no match for method server host key algo: server [ssh-rsa], client [ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256]

    I have some old cisco routers and need to get data via SSH.
    After updating to Ubuntu 22.04 ssh-rsa stopped working.
    I allow host key algoritm in /etc/ssh/ssh_config and /home/zabbix/.ssh/config
    CLI ssh works well. But Zabbix stil complain about it.

    How can I apply HostKeyAlgorithms +ssh-rsa to Zabbix SSH checks?

    Thanks.
Working...