Add UsePrivilegeSeparation=no for cygwin.

Reported by Yang Tse <yangsita@gmail.com>
This commit is contained in:
Simon Josefsson 2009-03-17 17:25:42 +00:00
parent 53ad07633e
commit fa5509d9f2

View File

@ -18,8 +18,11 @@ export PUBKEY
chmod go-r $srcdir/etc/host*
$SSHD -f /dev/null -h $srcdir/etc/host \
-o 'Port 4711' -o 'Protocol 2' \
-o "AuthorizedKeysFile $srcdir/etc/user.pub" -D &
-o 'Port 4711' \
-o 'Protocol 2' \
-o 'UsePrivilegeSeparation no' \
-o "AuthorizedKeysFile $srcdir/etc/user.pub" \
-D &
sshdpid=$!
trap "kill ${sshdpid}; echo signal killing sshd; exit 1;" EXIT