Why does SFTP connection end with error: No matching cipher found?
Issue
-
While connecting to sftp server getting below error:
debug1: kex: algorithm: ecdh-sha2-nistp256 debug1: kex: host key algorithm: rsa-sha2-512 Unable to negotiate with XX.XX.XX.XX port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc >>> Connection closed.
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.