From 34be8eeb384d9c2fd3f1c9ce05d961f3422962e4 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Mon, 19 Aug 2024 23:59:18 +0200 Subject: [PATCH] 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 Reviewed-by: David Gibson --- test/passt.mbuto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '