Cisco ASA Failed to connect to the host: no matching key exchange method found

When you have problems connecting to your Cisco ASA and see following error message:

Cisco ASA Failed to connect to the host via ssh: Unable to negotiate with 192.168.100.204 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1\r\n”,

Workaround to change ssh diffie-hellman group:

conf t
ssh key-exchange group dh-group14-sha1
exit 
wr mem

Now you can try it again and able to connect to the ASA.

Please share!

Leave a Reply

Your email address will not be published. Required fields are marked *