]> git.feebdaed.xyz Git - 0xmirror/curl.git/commit
pytest: add tests using sshd
authorStefan Eissing <stefan@eissing.org>
Thu, 11 Dec 2025 15:02:41 +0000 (16:02 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 12 Dec 2025 10:58:57 +0000 (11:58 +0100)
commiteb39fee40be6a8e68be2551e36b6fcb94170aaed
tree6ea898a3164b0fd3a50a41a16c53f9d288851d86
parent407d2f3d574f68bfe986b621282a61016ca45c63
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
12 files changed:
configure.ac
docs/INSTALL-CMAKE.md
tests/http/CMakeLists.txt
tests/http/Makefile.am
tests/http/config.ini.in
tests/http/conftest.py
tests/http/test_50_scp.py [new file with mode: 0644]
tests/http/test_51_sftp.py [new file with mode: 0644]
tests/http/testenv/__init__.py
tests/http/testenv/curl.py
tests/http/testenv/env.py
tests/http/testenv/sshd.py [new file with mode: 0644]