Lines Matching refs:rsa
62 check_key_present ssh-rsa || fail "didn't learn keys"
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"
81 check_key_present ssh-rsa || fail "didn't learn changed key"
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 ) \
89 dossh -oStrictHostKeyChecking=yes -oHostKeyAlgorithms=ssh-rsa,$all_algs
91 check_key_present ssh-rsa || fail "current key missing"
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
101 dossh -oStrictHostKeyChecking=yes -oHostKeyAlgorithms=ssh-rsa,$all_algs
103 check_key_present ssh-rsa $OBJ/hkr.ssh-rsa.pub.old && fail "old key present"
104 check_key_present ssh-rsa || fail "didn't learn changed key"
108 dossh -oStrictHostKeyChecking=yes -oHostKeyAlgorithms=ssh-rsa
110 check_key_present ssh-rsa || fail "didn't learn changed key"