summaryrefslogtreecommitdiff
path: root/regress/connect-privsep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/connect-privsep.sh')
-rw-r--r--regress/connect-privsep.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/regress/connect-privsep.sh b/regress/connect-privsep.sh
new file mode 100644
index 000000000..d23cadba5
--- /dev/null
+++ b/regress/connect-privsep.sh
@@ -0,0 +1,13 @@
1# $OpenBSD: connect-privsep.sh,v 1.1 2002/03/21 21:45:07 markus Exp $
2# Placed in the Public Domain.
3
4tid="proxy connect with privsep"
5
6echo 'UsePrivilegeSeparation yes' >> $OBJ/sshd_proxy
7
8for p in 1 2; do
9 ${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 true
10 if [ $? -ne 0 ]; then
11 fail "ssh privsep+proxyconnect protocol $p failed"
12 fi
13done