Outils pour utilisateurs

Outils du site


tech:pb_ssh_-_err_no_matching_key_exchange_method_found

Pb ssh - no matching key exchange method found

$ ssh root@192.168.10.22 -p22
Unable to negotiate with 192.168.10.22 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

$ ssh root@192.168.10.22 -p22 -oKexAlgorithms=diffie-hellman-group1-sha1
Unable to negotiate with 192.168.10.22 port 22: no matching cipher found. Their offer: 3des-cbc

Solution

Ajouter les arguments :

  • -oKexAlgorithms=diffie-hellman-group1-sha1
  • -c 3des-cbc (voir plus haut)
ssh root@192.168.10.22 -p22 -oKexAlgorithms=diffie-hellman-group1-sha1 -c 3des-cbc

Ou

$ ssh root@192.168.188.196
Unable to negotiate with 91.121.188.196 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

Solution

ssh -o HostKeyAlgorithms=+ssh-dss root@192.168.188.196

Autres

ssh -Q cipher

tech/pb_ssh_-_err_no_matching_key_exchange_method_found.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki