libssh2 with rsa-sha2-256, rsa-sha2-512

João M. S. Silva joao.m.santos.silva at gmail.com
Mon May 29 17:02:27 CEST 2023


Hi,
Having been able to fix the issue with a recent checkout from git I now
face the problem of how to deliver it to the OS.
>From github I see the next release is really soon to happen, is there any
help needed?
I'm trying to avoid installing the built version directly into /usr/local.
Instead, having a .deb would be cleaner.
Thanks.
João M. S. Silva


On Tue, May 16, 2023 at 5:42 PM João M. S. Silva <
joao.m.santos.silva at gmail.com> wrote:

>
>> Why did curl/libssh2 offer:
>>
>> Unable to negotiate with 127.0.0.1 port 43382: no matching host key type
>> found. Their offer: ssh-rsa [preauth]
>>
>> it makes sense that server-sig-algs was not supported by the server and
>> libssh2 dropped down to ssh-rsa to avoid the penalization.
>>
>> This hypothesis makes sense, but how do I enable server-sig-algs
>> extension in sshd?
>>
>
> Think I found the problem: when I built curl I was providing:
>
> ./configure --with-openssl --with-libssh2=/home/shared/libssh2/
>
>
> but then, at run time, a pre-existing version of libssh2 was probably
> being used (the one brought by the apt installation of git).
>
>
> I could not use LD_LIBRARY_PATH to tell configure that I had a new place
> for libssh2. I had to install it system-wide after removing the system one.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.haxx.se/pipermail/libssh2-devel/attachments/20230529/9763accc/attachment.htm>


More information about the libssh2-devel mailing list