Lines Matching refs:OBJ

25 rm -f $OBJ/hkr.* $OBJ/ssh_proxy.orig $OBJ/ssh_proxy.orig
27 grep -vi 'hostkey' $OBJ/sshd_proxy > $OBJ/sshd_proxy.orig
28 mv $OBJ/ssh_proxy $OBJ/ssh_proxy.orig
29 grep -vi 'globalknownhostsfile' $OBJ/ssh_proxy.orig > $OBJ/ssh_proxy
30 echo "UpdateHostkeys=yes" >> $OBJ/ssh_proxy
31 echo "GlobalKnownHostsFile=none" >> $OBJ/ssh_proxy
32 rm $OBJ/known_hosts
43 ${SSHKEYGEN} -qt $k -f $OBJ/hkr.$k -N '' || fatal "ssh-keygen $k"
44 echo "Hostkey $OBJ/hkr.${k}" >> $OBJ/sshd_proxy.orig
60 ${SSH} -F $OBJ/ssh_proxy "$@" x true || fail "ssh $@ failed"
66 _n=`wc -l $OBJ/known_hosts | awk '{ print $1 }'` || fatal "wc failed"
73 test "x$_kfile" = "x" && _kfile="$OBJ/hkr.${_type}.pub"
76 fgrep "$_kpub" $OBJ/known_hosts > /dev/null
79 cp $OBJ/sshd_proxy.orig $OBJ/sshd_proxy
83 >$OBJ/known_hosts
113 mv $OBJ/hkr.${secondary}.pub $OBJ/hkr.${secondary}.pub.old
114 rm -f $OBJ/hkr.${secondary}
115 ${SSHKEYGEN} -qt ${secondary} -f $OBJ/hkr.${secondary} -N '' || \
120 check_key_present ${secondary} $OBJ/hkr.${secondary}.pub.old && \
127 ${SSHKEYGEN} -qt ${primary} -f $OBJ/hkr.${primary}-new -N '' || fatal "ssh-keygen ed25519"
128 ( cat $OBJ/sshd_proxy.orig ; echo HostKey $OBJ/hkr.${primary}-new ) \
129 > $OBJ/sshd_proxy
134 check_key_present ${primary} $OBJ/hkr.${primary}-new.pub || fail "new key missing"
138 cp $OBJ/sshd_proxy.orig $OBJ/sshd_proxy
139 mv $OBJ/hkr.${primary}.pub $OBJ/hkr.${primary}.pub.old
140 mv $OBJ/hkr.${primary}-new.pub $OBJ/hkr.${primary}.pub
141 mv $OBJ/hkr.${primary}-new $OBJ/hkr.${primary}
145 check_key_present ${primary} $OBJ/hkr.${primary}.pub.old && fail "old key present"