While doing SSH, we received below error -
Unable to negotiate with 22.33.18.90 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
Solution
Update ssh command as below -
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 username@22.33.18.90
Or, permanently adding below to ~/.ssh/config
Host 22.33.18.90
KexAlgorithms +diffie-hellman-group1-sha1
Comments
Post a Comment