SSH : no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

De www.yakakliker.org
Révision datée du 11 septembre 2024 à 09:14 par Administrateur (discussion | contributions) (Page créée avec « == Message d'erreur SSH == <syntaxhighlight lang="bash"> no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 </syntaxhighlight> === Solution === Créer un fichier config ~/.ssh/<syntaxhighlight lang="bash"> Host IP.IP.IP.IP KexAlgorithms +diffie-hellman-group1-sha1 HostKeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa </syntaxhighlight> === Liens === htt... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Message d'erreur SSH

no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

Solution

Créer un fichier config ~/.ssh/

Host IP.IP.IP.IP
    KexAlgorithms +diffie-hellman-group1-sha1
    HostKeyAlgorithms +ssh-rsa
    PubkeyAcceptedAlgorithms +ssh-rsa

Liens

https://www.iclarified.com/85252/how-to-fix-no-matching-key-exchange-method-found-on-mac