Reset Search
 

 

Article

With SSH enabled in EXOS, client displays "no matching key exchange method found. Their offer: diffie-hellman-group1-sha1"

« Go Back

Information

 
TitleWith SSH enabled in EXOS, client displays "no matching key exchange method found. Their offer: diffie-hellman-group1-sha1"
Symptoms
When attempting to SSH to a switch with the SSH XMOD installed and running, the SSH client displays "Unable to negotiate with <IP address? port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1"
Environment
  • EXOS based switch
  • SSH XMOD installed and running
Cause
This is due to the client rejecting the encryption method proposed by the switch.
Resolution
For Mac OSX terminal:
On the Mac, in Terminal type the following:
sudo nano /etc/ssh/ssh_config
ENTER YOUR PASSWORD
Locate the line '# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd150' and remove the Hash/Pound sign from the beginning. Then paste the following command:
HostkeyAlgoritms ssh-dss,ssh-rsa
KexAlgorithms +diffie-hellman-group1-sha1

 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255