Home
last modified time | relevance | path

Searched refs:user_hostfiles (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/openssh/
H A Dsshconnect.c796 char **user_hostfiles, u_int num_user_hostfiles, in hostkeys_find_by_key() argument
814 if (hostkeys_find_by_key_hostfile(user_hostfiles[i], in hostkeys_find_by_key()
839 char **user_hostfiles, u_int num_user_hostfiles, in other_hostkeys_message() argument
846 user_hostfiles, num_user_hostfiles, in other_hostkeys_message()
960 char **user_hostfiles, u_int num_user_hostfiles, in check_host_key() argument
1022 load_hostkeys(host_hostkeys, host, user_hostfiles[i], 0); in check_host_key()
1034 load_hostkeys(ip_hostkeys, ip, user_hostfiles[i], 0); in check_host_key()
1131 else if (!add_host_to_hostfile(user_hostfiles[0], ip, in check_host_key()
1136 user_hostfiles[0]); in check_host_key()
1160 user_hostfiles, num_user_hostfiles, in check_host_key()
[all …]
H A Dclientloop.c2207 options.user_hostfiles[i], ctx->host_str, in check_old_keys_othernames()
2209 if ((r = hostkeys_foreach(options.user_hostfiles[i], in check_old_keys_othernames()
2214 options.user_hostfiles[i]); in check_old_keys_othernames()
2218 options.user_hostfiles[i]); in check_old_keys_othernames()
2306 if (stat(options.user_hostfiles[i], &sb) != 0) { in update_known_hosts()
2309 "exist", options.user_hostfiles[i]); in update_known_hosts()
2313 options.user_hostfiles[i], strerror(errno)); in update_known_hosts()
2317 if ((r = hostfile_replace_entries(options.user_hostfiles[i], in update_known_hosts()
2323 options.user_hostfiles[i]); in update_known_hosts()
2519 options.user_hostfiles[i], ctx->host_str, in client_input_hostkeys()
[all …]
H A Dssh.c1528 strcasecmp(options.user_hostfiles[0], "none") == 0) { in main()
1532 free(options.user_hostfiles[0]); in main()
1533 options.user_hostfiles[0] = NULL; in main()
1537 if (options.user_hostfiles[j] == NULL) in main()
1539 cp = tilde_expand_filename(options.user_hostfiles[j], getuid()); in main()
1541 if (strcmp(options.user_hostfiles[j], p) != 0) in main()
1543 "'%s'", options.user_hostfiles[j], p); in main()
1544 free(options.user_hostfiles[j]); in main()
1546 options.user_hostfiles[j] = p; in main()
1773 tilde_expand_paths(options.user_hostfiles, options.num_user_hostfiles); in main()
H A Dreadconf.h82 char *user_hostfiles[SSH_MAX_HOSTS_FILES]; member
H A Dreadconf.c1443 cpptr = (char **)&options->user_hostfiles; in process_config_line_depth()
2819 user_hostfiles[0], _PATH_SSH_USER_HOSTFILE) == 0))) in fill_default_options()
2825 options->user_hostfiles[options->num_user_hostfiles++] = in fill_default_options()
2827 options->user_hostfiles[options->num_user_hostfiles++] = in fill_default_options()
3028 FREE_ARRAY(u_int, o->num_user_hostfiles, o->user_hostfiles); in free_options()
3661 dump_cfg_strarray_oneline(oUserKnownHostsFile, o->num_user_hostfiles, o->user_hostfiles); in dump_client_config()
H A Dsshconnect2.c134 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i], 0); in order_hostkeyalgs()