-
-
Notifications
You must be signed in to change notification settings - Fork 7k
pytest: add tests using sshd #19934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytest: add tests using sshd #19934
Conversation
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.
|
@vszakats while we always seem to have I found one libssh working in linux/CM address-sanitizer, but not much more. At least one more pytest with libssh2 would be good. Since you have the best overview, can you take care of that once we merge this one? |
I can, yes, they could indeed be better covered in CI, esp. on Linux. [ https://testclutch.curl.se/static/reports/feature-matrix.html ] |
To run more pytest sshd tests, and for more static analysis. Also: - drop redundant option from `openssl libssh2 ...` config. - GHA/linux: enable pytest in the LTO job (to test libssh2). - avoid both with local builds of OpenSSL-forks, due to crypto lib mixups causing a mixture of build error, crashes, test failures. Follow-up to eb39fee #19934 Closes #19943
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.
Added SFTP configuration and test cases.