summaryrefslogtreecommitdiff
path: root/regress/cert-hostkey.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/cert-hostkey.sh')
-rw-r--r--regress/cert-hostkey.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/cert-hostkey.sh b/regress/cert-hostkey.sh
index 14cd2230b..9539a927f 100644
--- a/regress/cert-hostkey.sh
+++ b/regress/cert-hostkey.sh
@@ -12,8 +12,8 @@ HOSTS='localhost-with-alias,127.0.0.1,::1'
12${SSHKEYGEN} -q -N '' -t rsa -f $OBJ/host_ca_key ||\ 12${SSHKEYGEN} -q -N '' -t rsa -f $OBJ/host_ca_key ||\
13 fail "ssh-keygen of host_ca_key failed" 13 fail "ssh-keygen of host_ca_key failed"
14( 14(
15 echo -n '@cert-authority ' 15 echon '@cert-authority '
16 echo -n "$HOSTS " 16 echon "$HOSTS "
17 cat $OBJ/host_ca_key.pub 17 cat $OBJ/host_ca_key.pub
18) > $OBJ/known_hosts-cert 18) > $OBJ/known_hosts-cert
19 19
@@ -102,7 +102,7 @@ for ktype in rsa dsa ; do
102 -n $HOSTS $OBJ/cert_host_key_${ktype} || 102 -n $HOSTS $OBJ/cert_host_key_${ktype} ||
103 fail "couldn't sign cert_host_key_${ktype}" 103 fail "couldn't sign cert_host_key_${ktype}"
104 ( 104 (
105 echo -n "$HOSTS " 105 echon "$HOSTS "
106 cat $OBJ/cert_host_key_${ktype}.pub 106 cat $OBJ/cert_host_key_${ktype}.pub
107 ) > $OBJ/known_hosts-cert 107 ) > $OBJ/known_hosts-cert
108 ( 108 (