Skip to main content

SSH No Key Exchange method found

(2022-11-02)

Problem

# ssh 192.168.2.91
Unable to negotiate with 192.168.2.91 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

Solution

Add one of the presented options:

# ssh -oKexAlgorithms=+diffie-hellman-group14-sha1 192.168.2.91
The authenticity of host '192.168.2.91 (192.168.2.91)' can't be established.
[...]