Unable to exchange encryption keys
ronald.endsley
ronald.endsley at hccs.edu
Tue Apr 16 19:27:32 CEST 2024
All,
What does this mean in your 1.11.0 Changelog enhancements and bugfixes
Adds LIBSSH2_NO_{MD5, HMAC_RIPEMD, DSA, RSA, RSA_SHA1, ECDSA, ED25519, AES_CBC, AES_CTR, BLOWFISH, RC4, CAST, 3DES} options
We are getting errors on curl using sftp mode
rone at dcspum1-0:~$ curl -i --verbose sftp://127.0.0.1/~/retestfile.txt -u rone
Enter host password for user 'rone':
Warning: Couldn't find a known_hosts file!* Trying 127.0.0.1:22...
* Connected to 127.0.0.1 (127.0.0.1) port 22 (#0)
* 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
rone at dcspum1-0:~$ curl --verbose -i sftp://127.0.0.1/~/retestfile.txt -u rone
Enter host password for user 'rone':
* Trying 127.0.0.1:22...
* Connected to 127.0.0.1 (127.0.0.1) port 22 (#0)
* Found host 127.0.0.1 in /export/home/rone/.ssh/known_hosts
* Set "ssh-ed25519" as SSH hostkey type
* Closing connection 0
curl: (79) Error in the SSH layer
rone at dcspum1-0:~$
rone at dcspum1-0:~$ curl -V
curl 8.1.0 (sparc-sun-solaris2.11) libcurl/8.1.0 OpenSSL/1.0.2zh zlib/1.2.13 zstd/1.5.5 libidn2/2.3.0 libssh2/1.10.0 nghttp2/1.47.0
Release-Date: 2023-05-17
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
rone at dcspum1-0:~$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.haxx.se/pipermail/libssh2-devel/attachments/20240416/e0ef87d0/attachment.htm>
More information about the libssh2-devel
mailing list