Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dsshconnect.c834 char **user_hostfiles, u_int num_user_hostfiles, in hostkeys_find_by_key() argument
852 if (hostkeys_find_by_key_hostfile(user_hostfiles[i], in hostkeys_find_by_key()
877 char **user_hostfiles, u_int num_user_hostfiles, in other_hostkeys_message() argument
884 user_hostfiles, num_user_hostfiles, in other_hostkeys_message()
998 char **user_hostfiles, u_int num_user_hostfiles, in check_host_key() argument
1060 load_hostkeys(host_hostkeys, host, user_hostfiles[i], 0); in check_host_key()
1072 load_hostkeys(ip_hostkeys, ip, user_hostfiles[i], 0); in check_host_key()
1169 else if (!add_host_to_hostfile(user_hostfiles[0], ip, in check_host_key()
1174 user_hostfiles[0]); in check_host_key()
1198 user_hostfiles, num_user_hostfiles, in check_host_key()
[all …]
H A Dclientloop.c2241 options.user_hostfiles[i], ctx->host_str, in check_old_keys_othernames()
2243 if ((r = hostkeys_foreach(options.user_hostfiles[i], in check_old_keys_othernames()
2248 options.user_hostfiles[i]); in check_old_keys_othernames()
2252 options.user_hostfiles[i]); in check_old_keys_othernames()
2340 if (stat(options.user_hostfiles[i], &sb) != 0) { in update_known_hosts()
2343 "exist", options.user_hostfiles[i]); in update_known_hosts()
2347 options.user_hostfiles[i], strerror(errno)); in update_known_hosts()
2351 if ((r = hostfile_replace_entries(options.user_hostfiles[i], in update_known_hosts()
2357 options.user_hostfiles[i]); in update_known_hosts()
2554 options.user_hostfiles[i], ctx->host_str, in client_input_hostkeys()
[all …]
H A Dssh.c1543 strcasecmp(options.user_hostfiles[0], "none") == 0) { in main()
1547 free(options.user_hostfiles[0]); in main()
1548 options.user_hostfiles[0] = NULL; in main()
1552 if (options.user_hostfiles[j] == NULL) in main()
1554 cp = tilde_expand_filename(options.user_hostfiles[j], getuid()); in main()
1556 if (strcmp(options.user_hostfiles[j], p) != 0) in main()
1558 "'%s'", options.user_hostfiles[j], p); in main()
1559 free(options.user_hostfiles[j]); in main()
1561 options.user_hostfiles[j] = p; in main()
1801 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()