Skip to Content

no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

Resolving Key Exchange Method Mismatch in SSH: diffie-hellman-group1-sha1 Offered


Unable to ssh into EXOS network switch from ssh Jumphost,  the error Message on the SSH Client is

Unable to negotiate with ip on  port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

The reason for the above error is because the support for diffie-hellman-group1-sha1 had been removed from OpenSSH and other SSH libraries by default.  Try to upgrade your switch firmware and see if that solves your problem. 


Related Article

KEX and Host Key Algorithms in SSH