Home | History | Annotate | Download | only in regress

Lines Matching refs:hkr

9 rm -f $OBJ/hkr.* $OBJ/ssh_proxy.orig
19 ${SSHKEYGEN} -qt $k -f $OBJ/hkr.$k -N '' || fatal "ssh-keygen $k"
20 echo "Hostkey $OBJ/hkr.${k}" >> $OBJ/sshd_proxy.orig
41 test "x$_kfile" = "x" && _kfile="$OBJ/hkr.${_type}.pub"
74 mv $OBJ/hkr.ssh-rsa.pub $OBJ/hkr.ssh-rsa.pub.old
75 rm -f $OBJ/hkr.ssh-rsa
76 ${SSHKEYGEN} -qt ssh-rsa -f $OBJ/hkr.ssh-rsa -N '' || fatal "ssh-keygen $k"
80 check_key_present ssh-rsa $OBJ/hkr.ssh-rsa.pub.old && fail "old key present"
85 ${SSHKEYGEN} -qt ssh-rsa -f $OBJ/hkr.ssh-rsa-new -N '' || fatal "ssh-keygen $k"
86 ( cat $OBJ/sshd_proxy.orig ; echo HostKey $OBJ/hkr.ssh-rsa-new ) \
92 check_key_present ssh-rsa $OBJ/hkr.ssh-rsa-new.pub || fail "new key missing"
97 mv $OBJ/hkr.ssh-rsa.pub $OBJ/hkr.ssh-rsa.pub.old
98 mv $OBJ/hkr.ssh-rsa-new.pub $OBJ/hkr.ssh-rsa.pub
99 mv $OBJ/hkr.ssh-rsa-new $OBJ/hkr.ssh-rsa
103 check_key_present ssh-rsa $OBJ/hkr.ssh-rsa.pub.old && fail "old key present"