server - Ubuntu after upgrade - ssh exchange failed - Ask Ubuntu
i have little bit problem after upgrading ubuntu 14.04 16.04. i've try estabilish ssh connections servers trough ssh after upgrade in cases have these output:
unable negotiate 10.13.45.221 port 22: no matching key exchange method found. offer: diffie-hellman-group1-sha1
i know adding : ssh -okexalgorithms=+diffie-hellman-group1-sha1 user@legacyhost
but maybe way enable globally , use ssh user@host in 14.04?
this means diffie-hellman-group1-sha1
not present in default set of key exchange algorithms.
to ssh
option permanent, add follwoing ~/.ssh/config
(or globally in /etc/ssh/ssh_config
):
kexalgorithms=+diffie-hellman-group1-sha1
be careful host
, match
etc selective declarations while adding directive if want globally values inside snippets apply mentioned set only. whenever unsure, put @ top.
Comments
Post a Comment