Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dsshconnect.c791 char **user_hostfiles, u_int num_user_hostfiles, in hostkeys_find_by_key() argument
809 if (hostkeys_find_by_key_hostfile(user_hostfiles[i], in hostkeys_find_by_key()
834 char **user_hostfiles, u_int num_user_hostfiles, in other_hostkeys_message() argument
841 user_hostfiles, num_user_hostfiles, in other_hostkeys_message()
955 char **user_hostfiles, u_int num_user_hostfiles, in check_host_key() argument
1017 load_hostkeys(host_hostkeys, host, user_hostfiles[i], 0); in check_host_key()
1029 load_hostkeys(ip_hostkeys, ip, user_hostfiles[i], 0); in check_host_key()
1126 else if (!add_host_to_hostfile(user_hostfiles[0], ip, in check_host_key()
1131 user_hostfiles[0]); in check_host_key()
1155 user_hostfiles, num_user_hostfiles, in check_host_key()
[all …]
H A Dclientloop.c2235 options.user_hostfiles[i], ctx->host_str, in check_old_keys_othernames()
2237 if ((r = hostkeys_foreach(options.user_hostfiles[i], in check_old_keys_othernames()
2242 options.user_hostfiles[i]); in check_old_keys_othernames()
2246 options.user_hostfiles[i]); in check_old_keys_othernames()
2334 if (stat(options.user_hostfiles[i], &sb) != 0) { in update_known_hosts()
2337 "exist", options.user_hostfiles[i]); in update_known_hosts()
2341 options.user_hostfiles[i], strerror(errno)); in update_known_hosts()
2345 if ((r = hostfile_replace_entries(options.user_hostfiles[i], in update_known_hosts()
2351 options.user_hostfiles[i]); in update_known_hosts()
2548 options.user_hostfiles[i], ctx->host_str, in client_input_hostkeys()
[all …]
H A Dssh.c1562 strcasecmp(options.user_hostfiles[0], "none") == 0) { in main()
1566 free(options.user_hostfiles[0]); in main()
1567 options.user_hostfiles[0] = NULL; in main()
1571 if (options.user_hostfiles[j] == NULL) in main()
1573 cp = tilde_expand_filename(options.user_hostfiles[j], getuid()); in main()
1575 if (strcmp(options.user_hostfiles[j], p) != 0) in main()
1577 "'%s'", options.user_hostfiles[j], p); in main()
1578 free(options.user_hostfiles[j]); in main()
1580 options.user_hostfiles[j] = p; in main()
1817 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.c1488 cpptr = (char **)&options->user_hostfiles; in process_config_line_depth()
2942 user_hostfiles[0], _PATH_SSH_USER_HOSTFILE) == 0))) in fill_default_options()
2948 options->user_hostfiles[options->num_user_hostfiles++] = in fill_default_options()
2950 options->user_hostfiles[options->num_user_hostfiles++] = in fill_default_options()
3154 FREE_ARRAY(u_int, o->num_user_hostfiles, o->user_hostfiles); in free_options()
3842 dump_cfg_strarray_oneline(oUserKnownHostsFile, o->num_user_hostfiles, o->user_hostfiles); in dump_client_config()
H A Dsshconnect2.c135 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i], 0); in order_hostkeyalgs()