-# $OpenBSD: test-exec.sh,v 1.110 2024/04/03 06:01:11 anton Exp $
+# $OpenBSD: test-exec.sh,v 1.111 2024/05/17 01:45:22 djm Exp $
# Placed in the Public Domain.
#SUDO=sudo
SSHKEYSCAN=ssh-keyscan
SFTP=sftp
SFTPSERVER=/usr/libexec/sftp-server
+SSHD_SESSION=/usr/libexec/sshd-session
SCP=scp
# Interop testing
if [ "x$TEST_SSH_SSH" != "x" ]; then
SSH="${TEST_SSH_SSH}"
fi
+if [ "x$TEST_SSH_SSHD_SESSION" != "x" ]; then
+ SSHD_SESSION="${TEST_SSH_SSHD_SESSION}"
+fi
if [ "x$TEST_SSH_SSHD" != "x" ]; then
SSHD="${TEST_SSH_SSHD}"
fi
AcceptEnv _XXX_TEST_*
AcceptEnv _XXX_TEST
Subsystem sftp $SFTPSERVER
+ SshdSessionPath $SSHD_SESSION
EOF
# This may be necessary if /usr/src and/or /usr/obj are group-writable,