diff options
author | djm@openbsd.org@openbsd.org <djm@openbsd.org@openbsd.org> | 2017-10-30 23:01:52 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-10-30 23:08:52 +0100 |
commit | f2ad63c0718b93ac1d1e85f53fee33b06eef86b5 (patch) | |
tree | fc6c39739e490469beb0ff69ea3d7a8ea8364935 /regress/keytype.sh | |
parent | upstream commit (diff) | |
download | openssh-f2ad63c0718b93ac1d1e85f53fee33b06eef86b5.tar.xz openssh-f2ad63c0718b93ac1d1e85f53fee33b06eef86b5.zip |
upstream commit
whitespace at EOL
OpenBSD-Regress-ID: f4b5df99b28c6f63478deb916c6ed0e794685f07
Diffstat (limited to 'regress/keytype.sh')
-rw-r--r-- | regress/keytype.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/regress/keytype.sh b/regress/keytype.sh index 88b022de4..8f16aa01b 100644 --- a/regress/keytype.sh +++ b/regress/keytype.sh @@ -1,4 +1,4 @@ -# $OpenBSD: keytype.sh,v 1.5 2017/03/20 22:08:06 djm Exp $ +# $OpenBSD: keytype.sh,v 1.6 2017/10/30 22:01:52 djm Exp $ # Placed in the Public Domain. tid="login with different key types" @@ -17,7 +17,7 @@ for i in `$SSH -Q key`; do esac done -for kt in $ktypes; do +for kt in $ktypes; do rm -f $OBJ/key.$kt bits=`echo ${kt} | awk -F- '{print $2}'` type=`echo ${kt} | awk -F- '{print $1}'` @@ -27,10 +27,10 @@ for kt in $ktypes; do done tries="1 2 3" -for ut in $ktypes; do +for ut in $ktypes; do htypes=$ut #htypes=$ktypes - for ht in $htypes; do + for ht in $htypes; do case $ht in dsa-1024) t=ssh-dss;; ecdsa-256) t=ecdsa-sha2-nistp256;; @@ -42,13 +42,13 @@ for ut in $ktypes; do trace "ssh connect, userkey $ut, hostkey $ht" ( grep -v HostKey $OBJ/sshd_proxy_bak - echo HostKey $OBJ/key.$ht + echo HostKey $OBJ/key.$ht echo PubkeyAcceptedKeyTypes $t echo HostKeyAlgorithms $t ) > $OBJ/sshd_proxy ( grep -v IdentityFile $OBJ/ssh_proxy_bak - echo IdentityFile $OBJ/key.$ut + echo IdentityFile $OBJ/key.$ut echo PubkeyAcceptedKeyTypes $t echo HostKeyAlgorithms $t ) > $OBJ/ssh_proxy |