{{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 ~~~