diff options
author | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
commit | f0de78bd4f29fa688c5df116f3f9cd43543a76d0 (patch) | |
tree | 856b0dee3f2764c13a32dad5ffe2424fab7fef41 /regress/proxy-connect.sh | |
parent | 4213eec74e74de6310c27a40c3e9759a08a73996 (diff) | |
parent | 8aa3455b16fddea4c0144a7c4a1edb10ec67dcc8 (diff) |
Import openssh_8.2p1.orig.tar.gz
Diffstat (limited to 'regress/proxy-connect.sh')
-rw-r--r-- | regress/proxy-connect.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/regress/proxy-connect.sh b/regress/proxy-connect.sh index 39bbd3c96..8847fe0c6 100644 --- a/regress/proxy-connect.sh +++ b/regress/proxy-connect.sh | |||
@@ -1,9 +1,15 @@ | |||
1 | # $OpenBSD: proxy-connect.sh,v 1.11 2017/09/26 22:39:25 dtucker Exp $ | 1 | # $OpenBSD: proxy-connect.sh,v 1.12 2020/01/23 11:19:12 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="proxy connect" | 4 | tid="proxy connect" |
5 | 5 | ||
6 | for c in no yes; do | 6 | if [ "`${SSH} -Q compression`" = "none" ]; then |
7 | comp="no" | ||
8 | else | ||
9 | comp="no yes" | ||
10 | fi | ||
11 | |||
12 | for c in $comp; do | ||
7 | verbose "plain username comp=$c" | 13 | verbose "plain username comp=$c" |
8 | opts="-oCompression=$c -F $OBJ/ssh_proxy" | 14 | opts="-oCompression=$c -F $OBJ/ssh_proxy" |
9 | SSH_CONNECTION=`${SSH} $opts 999.999.999.999 'echo $SSH_CONNECTION'` | 15 | SSH_CONNECTION=`${SSH} $opts 999.999.999.999 'echo $SSH_CONNECTION'` |