diff options
Diffstat (limited to 'regress/kextype.sh')
-rw-r--r-- | regress/kextype.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/regress/kextype.sh b/regress/kextype.sh index 8c2ac09d6..6f952f4e4 100644 --- a/regress/kextype.sh +++ b/regress/kextype.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: kextype.sh,v 1.4 2013/11/07 04:26:56 dtucker Exp $ | 1 | # $OpenBSD: kextype.sh,v 1.5 2014/04/21 22:15:37 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="login with different key exchange algorithms" | 4 | tid="login with different key exchange algorithms" |
@@ -7,6 +7,11 @@ TIME=/usr/bin/time | |||
7 | cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak | 7 | cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak |
8 | cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak | 8 | cp $OBJ/ssh_proxy $OBJ/ssh_proxy_bak |
9 | 9 | ||
10 | # Make server accept all key exchanges. | ||
11 | ALLKEX=`ssh -Q kex` | ||
12 | KEXOPT=`echo $ALLKEX | tr ' ' ,` | ||
13 | echo "KexAlgorithms=$KEXOPT" >> $OBJ/sshd_proxy | ||
14 | |||
10 | tries="1 2 3 4" | 15 | tries="1 2 3 4" |
11 | for k in `${SSH} -Q kex`; do | 16 | for k in `${SSH} -Q kex`; do |
12 | verbose "kex $k" | 17 | verbose "kex $k" |