tech:pb_ssh_-_no_matching_cipher_found
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| tech:pb_ssh_-_no_matching_cipher_found [2025/03/24 15:46] – Jean-Baptiste | tech:pb_ssh_-_no_matching_cipher_found [2025/03/24 16:08] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{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, | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Solution | ||
| + | |||
| + | ~~~bash | ||
| + | ssh -c aes128-cbc old-rhel3 | ||
| + | ~~~ | ||
| + | |||
| + | ou mettre '' | ||
| + | |||
| + | ~/ | ||
| + | ~~~ | ||
| + | Host old-rhel3 | ||
| + | KexAlgorithms +diffie-hellman-group1-sha1, | ||
| + | HostKeyAlgorithms +ssh-rsa | ||
| + | PubkeyAcceptedKeyTypes +ssh-rsa | ||
| + | SetEnv TERM=linux | ||
| + | Ciphers +aes256-cbc | ||
| + | ~~~ | ||
| + | |||
| + | |||
