1
1

Make it simpler to get more debug info.

Этот коммит содержится в:
Simon Josefsson 2010-01-07 19:43:40 +01:00
родитель e84fe88526
Коммит 3f6bc287f9

Просмотреть файл

@ -16,6 +16,10 @@ export PRIVKEY
PUBKEY=$srcdir/etc/user.pub PUBKEY=$srcdir/etc/user.pub
export PUBKEY export PUBKEY
if test -n "$DEBUG"; then
libssh2_sshd_params="-d -d"
fi
chmod go-rwx "$srcdir"/etc/host* chmod go-rwx "$srcdir"/etc/host*
$SSHD -f /dev/null -h "$srcdir"/etc/host \ $SSHD -f /dev/null -h "$srcdir"/etc/host \
-o 'Port 4711' \ -o 'Port 4711' \
@ -23,7 +27,8 @@ $SSHD -f /dev/null -h "$srcdir"/etc/host \
-o "AuthorizedKeysFile $srcdir/etc/user.pub" \ -o "AuthorizedKeysFile $srcdir/etc/user.pub" \
-o 'UsePrivilegeSeparation no' \ -o 'UsePrivilegeSeparation no' \
-o 'StrictModes no' \ -o 'StrictModes no' \
-D & -D \
$libssh2_sshd_params &
sshdpid=$! sshdpid=$!
trap "kill ${sshdpid}; echo signal killing sshd; exit 1;" EXIT trap "kill ${sshdpid}; echo signal killing sshd; exit 1;" EXIT