View previous topic :: View next topic |
Author |
Message |
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Fri Apr 02, 2021 6:51 pm Post subject: Enabling obsolete protocol on SSH ? |
|
|
Hello,
I have very very (very) old system I can't upgrade for various raison.
But since last SSH update, I can't connect anymore due to following message :
Code: | Unable to negotiate with 192.168.0.8 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 |
Is it a way to re-enable one of them on my Gentoo system ?
Thanks
Laurent |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Fri Apr 02, 2021 7:06 pm Post subject: |
|
|
Hi
Code: |
ssh -o KexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 user@lhost
|
You can add "host" entries in /etc/ssh/ssh_config,or in ~/.ssh/config like that:
Code: |
Host <ip-or-domain>
KexAlgorithms +diffie-hellman-group1-sha1,algo2,algo3,etc
|
_________________
|
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Fri Apr 02, 2021 7:43 pm Post subject: |
|
|
Hello,
Thanks a lot, I'll do it.
Bye
Laurent |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|