<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The version in the repository does, but the last public release of libssh2 does not.<br>
I myself already built a sortof development version of libssh2 for my work environment. Without that libssh2 can no longer open RSA key based connections to recent OpenSSH server installations, because of the lack of rsa-sha2 based signature algorithms.<br>
Also, beyond OpenSSH installations, general security hardening efforts of our customers in the wild flag the rsa-sha1 signatures as woefully insecure on a regular basis.<br>
<br>The rsa-sha2 signatures have been in the repository since january 2022. They just need a release to be accessible to the broader public.</blockquote><div>  </div><div>I built  from git but still cannot connect:</div><div><br></div><div>Unable to negotiate with 127.0.0.1 port 49796: no matching host key type found. Their offer: ssh-rsa [preauth]<br></div><div><br></div><div>On the client:</div><div><br></div><div>$ curl/src/curl -v -T A -u u:p scp://localhost:/home/shared/B<br>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current<br>                                 Dload  Upload   Total   Spent    Left  Speed<br>  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 127.0.0.1:22...<br>* Connected to localhost (127.0.0.1) port 22 (#0)<br>* Found host localhost in /home/shared/.ssh/known_hosts<br>* Set "rsa-sha2-256,rsa-sha2-512,ssh-rsa" as SSH hostkey type<br>* Failure establishing ssh session: -5, Unable to exchange encryption keys<br>  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0<br>  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0<br>* Closing connection 0<br>curl: (2) Failure establishing ssh session: -5, Unable to exchange encryption keys<br></div></div></div>