pytest: add tests using sshd

With either /usr/sbin/sshd found or configured via --with-test-sshd=path
add tests for SCP down- and uploads, insecure, with known hosts or not,
with authorized user key or unauthorized one.

Working now with libssh and libssh2, using a hashed known_hosts file.

Closes #19934
This commit is contained in:
Stefan Eissing 2025-12-11 16:02:41 +01:00 committed by Daniel Stenberg
parent 407d2f3d57
commit eb39fee40b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
12 changed files with 883 additions and 3 deletions

View file

@ -37,3 +37,4 @@ from .client import LocalClient
from .nghttpx import Nghttpx, NghttpxQuic, NghttpxFwd
from .vsftpd import VsFTPD
from .dante import Dante
from .sshd import Sshd