X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/c9f39d2c2cb442069d6568c47f70168e1f255e15..699b5bd687b2564532db9bfc36049045ed79f5ad:/openssh/regress/dynamic-forward.sh diff --git a/openssh/regress/dynamic-forward.sh b/openssh/regress/dynamic-forward.sh index 392fc19..2b0b825 100644 --- a/openssh/regress/dynamic-forward.sh +++ b/openssh/regress/dynamic-forward.sh @@ -1,13 +1,13 @@ -# $OpenBSD: dynamic-forward.sh,v 1.3 2004/02/28 12:16:57 dtucker Exp $ +# $OpenBSD: dynamic-forward.sh,v 1.2 2003/07/03 08:21:46 markus Exp $ # Placed in the Public Domain. tid="dynamic forwarding" -FWDPORT=`expr $PORT + 1` - +PORT=4242 +FWDPORT=4243 DATA=/bin/ls${EXEEXT} -if have_prog nc && nc -h 2>&1 | grep "proxy address" >/dev/null; then +if have_prog nc && nc -h 2>&1 | grep "x proxy address" >/dev/null; then proxycmd="nc -x 127.0.0.1:$FWDPORT -X" elif have_prog connect; then proxycmd="connect -S 127.0.0.1:$FWDPORT -"