Lines Matching refs:host

9 for x in host-a host-b host-c host-d host-e host-f host-a2 host-b2; do
16 host-a|host-b) printf "$x " ;;
17 host-c) printf "@cert-authority $x " ;;
18 host-d) printf "@revoked $x " ;;
19 host-e) printf "host-e* " ;;
20 host-f) printf "host-f,host-g,host-h " ;;
21 host-a2) printf "host-a " ;;
22 host-b2) printf "host-b " ;;
34 echo "host-i " >> $OBJ/kh.invalid
67 expect_key host-a host-a host-a 2
68 expect_key host-a host-a host-a2 20
69 check_find host-a "simple find"
73 expect_key host-c host-c host-c 8 CA
74 check_find host-c "find CA key"
78 expect_key host-d host-d host-d 11 REVOKED
79 check_find host-d "find revoked key"
83 expect_key host-e.somedomain "host-e*" host-e 14
84 check_find host-e.somedomain "find wildcard key"
88 expect_key host-h "host-f,host-g,host-h " host-f 17
89 check_find host-h "find multiple hosts"
105 expect_key host-a host-a host-a
106 expect_key host-a host-a host-a2
107 check_hashed_find host-a "find simple and hash"
111 expect_key host-c host-c host-c "" CA
113 check_find host-c "find simple and hash" -H
117 expect_key host-d host-d host-d "" REVOKED
119 check_find host-d "find simple and hash" -H
123 expect_key host-e "host-e*" host-e ""
125 check_find host-e "find wildcard key" -H
130 expect_key host-f "host-h " host-f
131 expect_key host-g "host-h " host-f
132 expect_key host-h "host-h " host-f
133 check_hashed_find host-h "find multiple hosts"
137 ${SSHKEYGEN} -qf $OBJ/kh.invalid -R host-a 2>/dev/null
142 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-a 2>/dev/null
143 grep -v "^host-a " $OBJ/kh.hosts.orig > $OBJ/kh.expect
148 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-c 2>/dev/null
154 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-d 2>/dev/null
160 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-e.blahblah 2>/dev/null
161 grep -v "^host-e[*] " $OBJ/kh.hosts.orig > $OBJ/kh.expect
166 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-h 2>/dev/null
167 grep -v "^host-f," $OBJ/kh.hosts.orig > $OBJ/kh.expect
179 grep "^host-[abfgh]" $OBJ/kh.hosts && fail "original hostnames persist"
185 expect_key host-a host-a host-a
186 expect_key host-a host-a host-a2
187 check_hashed_find host-a "find simple in hashed" $OBJ/kh.hosts
191 expect_key host-h host-h host-f
192 check_hashed_find host-h "find simple in hashed" $OBJ/kh.hosts
196 ${SSHKEYGEN} -qf $OBJ/kh.hashed -R host-a 2>/dev/null
197 ${SSHKEYGEN} -qf $OBJ/kh.hashed -F host-a && fail "found key after hashed remove"