diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-03-21 21:45:08 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-03-21 21:45:08 +0000 |
commit | 74d71a21f81699632a7d334453274a14937cad55 (patch) | |
tree | 62c396fd708ab6257360fd7a03f88d740bb57e95 /regress/usr.bin/ssh/connect-privsep.sh | |
parent | 605e71c7e2211dbbeb3e5ae5fc81cd4eb0edf9d8 (diff) |
try to (proxy)connect with UsePrivilegeSeparation enabled.
Diffstat (limited to 'regress/usr.bin/ssh/connect-privsep.sh')
-rw-r--r-- | regress/usr.bin/ssh/connect-privsep.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/regress/usr.bin/ssh/connect-privsep.sh b/regress/usr.bin/ssh/connect-privsep.sh new file mode 100644 index 00000000000..d23cadba525 --- /dev/null +++ b/regress/usr.bin/ssh/connect-privsep.sh @@ -0,0 +1,13 @@ +# $OpenBSD: connect-privsep.sh,v 1.1 2002/03/21 21:45:07 markus Exp $ +# Placed in the Public Domain. + +tid="proxy connect with privsep" + +echo 'UsePrivilegeSeparation yes' >> $OBJ/sshd_proxy + +for p in 1 2; do + ${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 true + if [ $? -ne 0 ]; then + fail "ssh privsep+proxyconnect protocol $p failed" + fi +done |