Outils pour utilisateurs

Outils du site


tech:pb_ssh_-_no_matching_cipher_found

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:pb_ssh_-_no_matching_cipher_found [2025/03/24 15:46] Jean-Baptistetech:pb_ssh_-_no_matching_cipher_found [2025/03/24 16:08] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Pb Crypt ssh SSHConfig}}
 +
 +# Pb ssh - no matching cipher found
 +
 +
 +~~~
 +$ ssh old-rhel3
 +Unable to negotiate with UNKNOWN port 65535: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se
 +~~~
 +
 +
 +## Solution
 +
 +~~~bash
 +ssh -c aes128-cbc old-rhel3
 +~~~
 +
 +ou mettre ''Ciphers +aes256-cbc'' dans le ''~/.ssh/config'' pour ne pas à avoir ajouter systématiquement ''-c aes128-cbc''
 +
 +~/.ssh/config
 +~~~
 +Host old-rhel3
 +        KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
 +        HostKeyAlgorithms +ssh-rsa
 +        PubkeyAcceptedKeyTypes +ssh-rsa
 +        SetEnv TERM=linux
 +        Ciphers +aes256-cbc
 +~~~
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki