curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Unable to exchange encryption keys

From: Ray Satiro via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 8 Feb 2022 16:19:02 -0500

On 2/8/2022 2:00 PM, Werner L. Stolz via curl-users wrote:
> url 7.67.0 (powerpc-ibm-aix6.1.9.0) libcurl/7.67.0 OpenSSL/1.0.2t
> zlib/1.2.11 libssh2/1.8.2
> Release-Date: 2019-11-06
> Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps
> pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
> Features: AsynchDNS GSS-API HTTPS-proxy IPv6 Kerberos Largefile libz
> NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets
>
> We are trying to set up a file transfer process using this version and
> are running into an issue.  When we try to connect to even get a 
> directory listing from the remote site, we get the following error
> message.
>
> * Failure establishing ssh session: -8, Unable to exchange encryption
> keys
> * Closing connection 0
> curl: (2) Failure establishing ssh session: -8, Unable to exchange
> encryption keys
>
> My research indicates that this might be a problem with libssh2, does
> this seem likely?  Also, is there a newer version of curl that I 
> can find for the AIX operating system that would correct this?


Likely insecure ciphers were disabled on the server, now there are no
ciphers in common. Try the latest version of curl and of libssh2.


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-02-08