]> andersk Git - gssapi-openssh.git/blame - openssh/regress/proxy-connect.sh
Import of OpenSSH 3.6.1p1
[gssapi-openssh.git] / openssh / regress / proxy-connect.sh
CommitLineData
6a9b3198 1# $OpenBSD: proxy-connect.sh,v 1.5 2002/12/09 15:28:46 markus Exp $
700318f3 2# Placed in the Public Domain.
3
4tid="proxy connect"
5
6for p in 1 2; do
7 ${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 true
8 if [ $? -ne 0 ]; then
9 fail "ssh proxyconnect protocol $p failed"
10 fi
6a9b3198 11 SSH_CONNECTION=`${SSH} -$p -F $OBJ/ssh_proxy 999.999.999.999 'echo $SSH_CONNECTION'`
12 if [ $? -ne 0 ]; then
13 fail "ssh proxyconnect protocol $p failed"
14 fi
15 if [ "$SSH_CONNECTION" != "UNKNOWN 65535 UNKNOWN 65535" ]; then
16 fail "bad SSH_CONNECTION"
17 fi
700318f3 18done
This page took 1.123209 seconds and 5 git commands to generate.