On Tue, Aug 20, 2024 at 01:14:32AM +0200, Stefano Brivio wrote:
...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 '
-- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson