Écrit par : Super User
Affichages : 17155

Si vous avez l'erreur suivante

Unable to negotiate with x.x.x.x port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

ou

Unable to negotiate with x.x.x.x port 22: no matching cipher found. Their offer: 3des-cbc

malgré la commande : ssh x.x.x.x -o KexAlgorithms=+diffie-hellman-group1-sha1

Vous devez appliquer la méthode suivante

Si besoin faites précéder ces commandes par : sudo


Si l'erreur est : Unable to negotiate with 192.168.1.13 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

faire 

Bonne chance


Si l'erreur est : Unable to negotiate with 192.168.1.12 port 22: no matching host key type found. Their offer: ssh-rsa

KexAlgorithms diffie-hellman-group1-sha1,Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser.,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchang>

ssh  -oHostKeyAlgorithms=+ssh-rsa Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser.

Ajoutez les lignes ci dessous à votre /etc/ssh/ssh_config


sources : https://unix.stackexchange.com/questions/340844/how-to-enable-diffie-hellman-group1-sha1-key-exchange-on-debian-8-0