libssh2 1.11.0 - sshd tests

Nicolas Mora nicolas at babelouest.org
Fri Jun 2 19:55:22 CEST 2023


Hello,

I'm preparing the package libssh2 1.11.0 for Debian, but I have 
questions concerning the sshd tests.

If I enable the sshd tests in the package builder for debian unstable, 
the sshd tests fail, although if I run the tests locally on my Debian 
stable, the sshd tests pass. It seems the sshd server isn't executed as 
it should be:

FAIL: test_sshd
===============

Fingerprint: 12 FD AD 1E 3B 31 B1 0B AB B0 0F 2A 8D 1B 9A 62 C3 26 BD 2F
Authentication methods: publickey,password,keyboard-interactive
Authentication by public key failed!
all done
libssh2_userauth_publickey_fromfile_ex failed (-18): Username/PublicKey 
combination invalid
# sshd executable: '/usr/sbin/sshd' (OpenSSH_9.2, OpenSSL 3.0.9 30 May 2023)
# ssh executable: '/usr/bin/ssh' (OpenSSH_9.2p1 Debian-2, OpenSSL 3.0.9 
30 May 2023)
# waiting for sshd...
# waiting for sshd...
# waiting for sshd...
# waiting for sshd...
# waiting for sshd...
# waiting for sshd...
# waiting for sshd...
# waiting for sshd...
1..2
not ok 1 - sshd-test_ssh2
FAIL: test_sshd.test 1 - sshd-test_ssh2
not ok 2 - sshd-test_auth_pubkey_ok_ed25519
FAIL: test_sshd.test 2 - sshd-test_auth_pubkey_ok_ed25519

Is there anything I could try to make the sshd tests work?


More information about the libssh2-devel mailing list