summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh/proxy-connect.sh
blob: 9c53007a9be66215e7c3fe3f9a7790030175fe5f (plain)
1
2
3
4
5
6
7
8
9
10
tid="proxy connect"

for p in 1 2; do
	ssh -$p -F $OBJ/ssh_config \
		-o "proxycommand sshd -i -f $OBJ/sshd_config_proxy" \
		999.999.999.999 true
	if [ $? -ne 0 ]; then
		fail "ssh proxyconnect protocol $p failed"
	fi
done