aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-01-07 12:46:06 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-01-10 19:27:47 +0100
commit9437fc2620d5ae925385b465914074a37aeed850 (patch)
treeba5275314409cfdee4a40687716c562f6ffda3fa
parentac77d0ce5fc8ba59909ebb6d2a38052dbae6e871 (diff)
downloadpasst-9437fc2620d5ae925385b465914074a37aeed850.tar
passt-9437fc2620d5ae925385b465914074a37aeed850.tar.gz
passt-9437fc2620d5ae925385b465914074a37aeed850.tar.bz2
passt-9437fc2620d5ae925385b465914074a37aeed850.tar.lz
passt-9437fc2620d5ae925385b465914074a37aeed850.tar.xz
passt-9437fc2620d5ae925385b465914074a37aeed850.tar.zst
passt-9437fc2620d5ae925385b465914074a37aeed850.zip
test: Include sshd-auth in mbuto guest image
OpenSSH has split itself into several binaries for greater security. We already have logic to make sure we include the sshd-session binary. OpenSSH 10 has added another: sshd-auth which we also need for a working sshd within the guest. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-xtest/passt.mbuto6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/passt.mbuto b/test/passt.mbuto
index 598c254..de35c3c 100755
--- a/test/passt.mbuto
+++ b/test/passt.mbuto
@@ -24,6 +24,12 @@ for bin in /usr/lib/openssh/sshd-session /usr/lib/ssh/sshd-session \
command -v "${bin}" >/dev/null && PROGS="${PROGS} ${bin}"
done
+# OpenSSH 10 adds sshd-auth as well
+for bin in /usr/lib/openssh/sshd-auth /usr/lib/ssh/sshd-auth \
+ /usr/libexec/openssh/sshd-auth; do
+ command -v "${bin}" >/dev/null && PROGS="${PROGS} ${bin}"
+done
+
KMODS="${KMODS:- virtio_net virtio_pci vmw_vsock_virtio_transport}"
LINKS="${LINKS:-