From fa5509d9f2f42f611b9701c1005683bcb28e5f5d Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 17 Mar 2009 17:25:42 +0000 Subject: [PATCH] Add UsePrivilegeSeparation=no for cygwin. Reported by Yang Tse --- tests/ssh2.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/ssh2.sh b/tests/ssh2.sh index 66efc5d..b5afa40 100755 --- a/tests/ssh2.sh +++ b/tests/ssh2.sh @@ -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