Skip to content

Commit 154efec

Browse files
committed
scripts: add an OpenSSH strict KEX interop test
Runs the OpenSSH client against the echoserver and the wolfSSH example client against sshd, checking that each pairing negotiates the strict KEX marker and that a session then runs over the connection. - skip when ssh is missing or predates OpenSSH 9.6, and fall back to the RSA sample keys on a build without ECDSA - skip the sshd half alone when sshd or ssh-keygen is missing, or sshd will not start unprivileged - report the sequence number resets OpenSSH logs rather than test them, the wording being no contract - run from make check through dist_noinst_SCRIPTS
1 parent 9d8ee7d commit 154efec

2 files changed

Lines changed: 411 additions & 0 deletions

File tree

‎scripts/include.am‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ endif
1515
# app wasn't built.
1616
dist_noinst_SCRIPTS+= scripts/sshclient.test
1717

18+
# Not gated on anything: the script skips itself when OpenSSH is missing
19+
# or predates strict KEX.
20+
dist_noinst_SCRIPTS+= scripts/openssh-interop.test
21+
1822
dist_noinst_SCRIPTS+= scripts/fwd.test
1923
EXTRA_DIST += scripts/fwd.test.expect
2024
dist_noinst_SCRIPTS+= scripts/fwd-bulk.test

0 commit comments

Comments
 (0)