summaryrefslogtreecommitdiff
path: root/regress/dynamic-forward.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/dynamic-forward.sh')
-rw-r--r--regress/dynamic-forward.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/dynamic-forward.sh b/regress/dynamic-forward.sh
index d090814c5..afa1f103d 100644
--- a/regress/dynamic-forward.sh
+++ b/regress/dynamic-forward.sh
@@ -6,9 +6,9 @@ tid="dynamic forwarding"
6PORT=4242 6PORT=4242
7FWDPORT=4243 7FWDPORT=4243
8 8
9if [ -x `which nc` ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then 9if [ -x `which nc 2>&1` ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then
10 proxycmd="nc -x 127.0.0.1:$FWDPORT -X" 10 proxycmd="nc -x 127.0.0.1:$FWDPORT -X"
11elif [ -x `which connect` ]; then 11elif [ -x `which connect 2>&1` ]; then
12 proxycmd="connect -S 127.0.0.1:$FWDPORT -" 12 proxycmd="connect -S 127.0.0.1:$FWDPORT -"
13else 13else
14 echo "skipped (no suitable ProxyCommand found)" 14 echo "skipped (no suitable ProxyCommand found)"