test: set -E log_file option for sshd for debug

This commit is contained in:
Ryo Nakamura
2025-01-07 16:04:56 +09:00
parent 31e011f85c
commit 1636f2a965

View File

@@ -17,7 +17,7 @@ sed -i -e 's/AllowTcpForwarding no/AllowTcpForwarding yes/' /etc/ssh/sshd_config
# Run sshd
if [ ! -e /var/run/sshd.pid ]; then
/usr/sbin/sshd
/usr/sbin/sshd -E /tmp/sshd.log
sleep 1
fi