summaryrefslogtreecommitdiffstats
path: root/regress/connect-privsep.sh
blob: d23cadba52554d73af4efeecde347806b5e0cc99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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