Home
last modified time | relevance | path

Searched refs:hostkeyalgorithms (Results 1 – 7 of 7) sorted by relevance

/openbsd/usr.bin/ssh/
H A Dreadconf.h68 char *hostkeyalgorithms; /* SSH2 server key types in order of preference. */ member
H A Dsshconnect2.c145 best = first_alg(options.hostkeyalgorithms); in order_hostkeyalgs()
151 ret = xstrdup(options.hostkeyalgorithms); in order_hostkeyalgs()
159 oavail = avail = xstrdup(options.hostkeyalgorithms); in order_hostkeyalgs()
233 if (options.hostkeyalgorithms == NULL || in ssh_kex2()
234 options.hostkeyalgorithms[0] == '-' || in ssh_kex2()
235 options.hostkeyalgorithms[0] == '+') in ssh_kex2()
240 if ((r = kex_assemble_names(&options.hostkeyalgorithms, in ssh_kex2()
251 hkalgs ? hkalgs : options.hostkeyalgorithms); in ssh_kex2()
H A Dservconf.h136 char *hostkeyalgorithms; /* SSH2 server key types */ member
H A Dreadconf.c1579 charptr = &options->hostkeyalgorithms; in process_config_line_depth()
2616 options->hostkeyalgorithms = NULL; in initialize_options()
3015 free(o->hostkeyalgorithms); in free_options()
3557 if ((r = kex_assemble_names(&o->hostkeyalgorithms, kex_default_pk_alg(), in dump_client_config()
3625 dump_cfg_string(oHostKeyAlgorithms, o->hostkeyalgorithms); in dump_client_config()
H A Dsshd-auth.c208 if (match_pattern_list(s, options.hostkeyalgorithms, 0) != 1) { in append_hostkey_type()
H A Dservconf.c108 options->hostkeyalgorithms = NULL; in initialize_server_options()
231 ASSEMBLE(hostkeyalgorithms, def_key, all_key); in assemble_algorithms()
1504 charptr = &options->hostkeyalgorithms; in process_server_config_line_depth()
3207 dump_cfg_string(sHostKeyAlgorithms, o->hostkeyalgorithms); in dump_config()
H A Dsshconnect.c691 const char *hostkeyalgs = options.hostkeyalgorithms; in hostkey_accepted_by_hostkeyalgs()