Home | History | Annotate | Download | only in regress

Lines Matching refs:OBJ

9 rm -f $OBJ/hkr.* $OBJ/ssh_proxy.orig
11 grep -vi 'hostkey' $OBJ/sshd_proxy > $OBJ/sshd_proxy.orig
12 echo "UpdateHostkeys=yes" >> $OBJ/ssh_proxy
13 rm $OBJ/known_hosts
19 ${SSHKEYGEN} -qt $k -f $OBJ/hkr.$k -N '' || fatal "ssh-keygen $k"
20 echo "Hostkey $OBJ/hkr.${k}" >> $OBJ/sshd_proxy.orig
28 ${SSH} -F $OBJ/ssh_proxy "$@" x true || fail "ssh $@ failed"
34 _n=`wc -l $OBJ/known_hosts | awk '{ print $1 }'` || fatal "wc failed"
41 test "x$_kfile" = "x" && _kfile="$OBJ/hkr.${_type}.pub"
44 fgrep "$_kpub" $OBJ/known_hosts > /dev/null
47 cp $OBJ/sshd_proxy.orig $OBJ/sshd_proxy
51 >$OBJ/known_hosts
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 ) \
87 > $OBJ/sshd_proxy
92 check_key_present ssh-rsa $OBJ/hkr.ssh-rsa-new.pub || fail "new key missing"
96 cp $OBJ/sshd_proxy.orig $OBJ/sshd_proxy
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"