Buy commercial curl support. 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 Daniel himself.
Unable to exchange encryption keys
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Werner Stolz via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 24 Nov 2025 14:53:05 +0000
We have recently upgraded our version of curl because we are encountering more and more cases of being unable to establish connections
due to deprecated ciphers.
We first encountered this error in 2022, and the only suggestion was to upgrade our version of curl. We have now done that, and the problem
actually seems WORSE.
Here is our version of curl.
curl --version
curl 8.14.1 (powerpc-ibm-aix7.1.5.0) libcurl/8.14.1 OpenSSL/3.0.10 zlib/1.2.13 libssh2/1.11.1 nghttp2/1.62.1 OpenLDAP/2.5.16
Release-Date: 2025-06-04
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM SPNEGO SSL threadsafe UnixSockets
Here is the error message that we are getting. I have removed all the identifying information.
curl -k -v sftp://url.com:22/ --user 'USER:PASSWORD'
* Host url.com:22 was resolved.
* IPv6: (none)
* IPv4: octet.octet.octet.octet, 18.222.41.6
* Trying octet.octet.octet.octet:22...
* Connected to io.envestnet.com (octet.octet.octet.octet) port 22
* libssh2 cryptography backend: openssl compatible
* User: USER
* Failure establishing ssh session: -5, Unable to exchange encryption keys
* closing connection #0
curl: (2) Failure establishing ssh session: -5, Unable to exchange encryption keys
Werner Stolz
Advisor, Senior Software Developer
Office: 848.305.7158
Mobile: 630.404.3815
Chicago
InvestCloud.com<https://www.investcloud.com/> | LinkedIn<https://www.linkedin.com/company/investcloud/>
CNBC World's Top Fintech Companies 2024
________________________________
Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation.
________________________________
Received on 2025-11-24
Date: Mon, 24 Nov 2025 14:53:05 +0000
We have recently upgraded our version of curl because we are encountering more and more cases of being unable to establish connections
due to deprecated ciphers.
We first encountered this error in 2022, and the only suggestion was to upgrade our version of curl. We have now done that, and the problem
actually seems WORSE.
Here is our version of curl.
curl --version
curl 8.14.1 (powerpc-ibm-aix7.1.5.0) libcurl/8.14.1 OpenSSL/3.0.10 zlib/1.2.13 libssh2/1.11.1 nghttp2/1.62.1 OpenLDAP/2.5.16
Release-Date: 2025-06-04
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM SPNEGO SSL threadsafe UnixSockets
Here is the error message that we are getting. I have removed all the identifying information.
curl -k -v sftp://url.com:22/ --user 'USER:PASSWORD'
* Host url.com:22 was resolved.
* IPv6: (none)
* IPv4: octet.octet.octet.octet, 18.222.41.6
* Trying octet.octet.octet.octet:22...
* Connected to io.envestnet.com (octet.octet.octet.octet) port 22
* libssh2 cryptography backend: openssl compatible
* User: USER
* Failure establishing ssh session: -5, Unable to exchange encryption keys
* closing connection #0
curl: (2) Failure establishing ssh session: -5, Unable to exchange encryption keys
Werner Stolz
Advisor, Senior Software Developer
Office: 848.305.7158
Mobile: 630.404.3815
Chicago
InvestCloud.com<https://www.investcloud.com/> | LinkedIn<https://www.linkedin.com/company/investcloud/>
CNBC World's Top Fintech Companies 2024
________________________________
Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation.
________________________________
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html
(image/jpeg attachment: Picture__Device_Independent_Bitmap__1.jpg)