Home
last modified time | relevance | path

Searched refs:hostkeys (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/crypto/openssh/
H A Dhostfile.c65 struct hostkeys { struct
233 struct hostkeys *hostkeys; member
240 struct hostkeys *hostkeys = ctx->hostkeys; in record_hostkey() local
260 hostkeys->entries[hostkeys->num_entries].line = l->linenum; in record_hostkey()
261 hostkeys->entries[hostkeys->num_entries].key = l->key; in record_hostkey()
263 hostkeys->entries[hostkeys->num_entries].marker = l->marker; in record_hostkey()
278 ctx.hostkeys = hostkeys; in load_hostkeys()
292 free_hostkeys(struct hostkeys *hostkeys) in free_hostkeys() argument
303 explicit_bzero(hostkeys, sizeof(*hostkeys)); in free_hostkeys()
304 free(hostkeys); in free_hostkeys()
[all …]
H A Dhostfile.h32 struct hostkeys;
34 struct hostkeys *init_hostkeys(void);
35 void load_hostkeys(struct hostkeys *, const char *, const char *);
36 void free_hostkeys(struct hostkeys *);
38 HostStatus check_key_in_hostkeys(struct hostkeys *, struct sshkey *,
40 int lookup_key_in_hostkeys_by_type(struct hostkeys *, int,
H A Dauth.c467 struct hostkeys *hostkeys; in check_key_in_hostfiles() local
470 hostkeys = init_hostkeys(); in check_key_in_hostfiles()
471 load_hostkeys(hostkeys, host, sysfile); in check_key_in_hostfiles()
485 load_hostkeys(hostkeys, host, user_hostfile); in check_key_in_hostfiles()
490 host_status = check_key_in_hostkeys(hostkeys, key, &found); in check_key_in_hostfiles()
500 free_hostkeys(hostkeys); in check_key_in_hostfiles()
H A DPROTOCOL286 2.5. connection: hostkey update and rotation "hostkeys[email protected]"
287 and "hostkeys[email protected]"
294 string "hostkeys[email protected]"
295 string[] hostkeys
304 it should send a "hostkeys[email protected]" message to request the
308 string "hostkeys[email protected]"
310 string[] hostkeys
315 string "hostkeys[email protected]"
320 the hostkeys in the request:
H A Dsshconnect.c86 static int show_other_keys(struct hostkeys *, struct sshkey *);
855 struct hostkeys *host_hostkeys, *ip_hostkeys; in check_host_key()
1446 show_other_keys(struct hostkeys *hostkeys, struct sshkey *key) in show_other_keys() argument
1463 if (!lookup_key_in_hostkeys_by_type(hostkeys, type[i], &found)) in show_other_keys()
H A Dsshconnect2.c108 struct hostkeys *hostkeys; in order_hostkeyalgs() local
114 hostkeys = init_hostkeys(); in order_hostkeyalgs()
116 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i]); in order_hostkeyalgs()
118 load_hostkeys(hostkeys, hostname, options.system_hostfiles[i]); in order_hostkeyalgs()
136 if (lookup_key_in_hostkeys_by_type(hostkeys, in order_hostkeyalgs()
152 free_hostkeys(hostkeys); in order_hostkeyalgs()
H A DChangeLog4997 but will refuse connections for changed or invalid hostkeys.
5004 automatically learning new hostkeys and continuing to connect to hosts
5005 with invalid/changed hostkeys. The latter behaviour is quite dangerous
5009 Quite a few users want to automatically learn hostkeys however, so
5372 When generating all hostkeys (ssh-keygen -A), clobber
7384 When updating hostkeys, accept RSA keys if
9607 configuration for KEX and hostkeys anyway.
/freebsd-12.1/crypto/openssh/regress/
H A Dssh-com-client.sh47 mkdir -p ${OBJ}/${USER}/hostkeys
48 HK=${OBJ}/${USER}/hostkeys/key_${PORT}_127.0.0.1
H A DMakefile235 $$V ${.OBJDIR}/unittests/hostkeys/test_hostkeys \
236 -d ${.CURDIR}/unittests/hostkeys/testdata ; \
/freebsd-12.1/crypto/openssh/regress/unittests/
H A DMakefile4 SUBDIR= test_helper sshbuf sshkey bitmap kex hostkeys utf8 match conversion