diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-08-19 23:59:18 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-08-21 12:02:37 +0200 |
commit | 34be8eeb384d9c2fd3f1c9ce05d961f3422962e4 (patch) | |
tree | 9f82b5f915694689dc554d4bb7f0f5d902347b13 /test | |
parent | aded2b671c4b41f250d2324ab86ca9728a5503c9 (diff) | |
download | passt-34be8eeb384d9c2fd3f1c9ce05d961f3422962e4.tar passt-34be8eeb384d9c2fd3f1c9ce05d961f3422962e4.tar.gz passt-34be8eeb384d9c2fd3f1c9ce05d961f3422962e4.tar.bz2 passt-34be8eeb384d9c2fd3f1c9ce05d961f3422962e4.tar.lz passt-34be8eeb384d9c2fd3f1c9ce05d961f3422962e4.tar.xz passt-34be8eeb384d9c2fd3f1c9ce05d961f3422962e4.tar.zst passt-34be8eeb384d9c2fd3f1c9ce05d961f3422962e4.zip |
test/passt.mbuto: Run sshd from vsock proxy with absolute path
...OpenSSH >= 9.8 otherwise complains that:
sshd requires execution with an absolute path
Link: https://bugs.gentoo.org/936041
Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078429
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test')
-rwxr-xr-x | test/passt.mbuto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/passt.mbuto b/test/passt.mbuto index 436eecc..4abaafc 100755 --- a/test/passt.mbuto +++ b/test/passt.mbuto @@ -78,7 +78,7 @@ EOF EOF chmod 600 /root/.ssh/authorized_keys chmod 700 /root - socat VSOCK-LISTEN:22,fork EXEC:"sshd -i -e" 2> /var/log/vsock-ssh.log & + socat VSOCK-LISTEN:22,fork EXEC:"/sbin/sshd -i -e" 2> /var/log/vsock-ssh.log & sh +m ' |