test/ssh2.sh fails and how to force disable it

Paul Howarth paul at city-fan.org
Fri Feb 25 14:59:52 CET 2022


Hi,

On Thu, 24 Feb 2022 17:37:03 -0500
Nicolas Mora via libssh2-devel <libssh2-devel at lists.haxx.se> wrote:

> Hello,
> 
> I maintain the libssh2 package for Debian and I received the bug 
> #1006379 [1].
> 
> The autopkgtest fails because of ssh2.sh
> 
> Is there a way to disable running test/ssh2.sh even if sshd is
> present?
> 
> /Nicolas
> 
> [1] - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006379

Looks like it could be related to this, if you have a recent OpenSSH:
https://github.com/libssh2/libssh2/issues/630

I managed to work around it in Fedora by re-enabling ssh-rsa keys for
the test:

https://src.fedoraproject.org/rpms/libssh2/blob/rawhide/f/libssh2-1.10.0-ssh-rsa-test.patch

Cheers, Paul.


More information about the libssh2-devel mailing list