Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsshconnect.c832 char **user_hostfiles, u_int num_user_hostfiles, in hostkeys_find_by_key() argument
850 if (hostkeys_find_by_key_hostfile(user_hostfiles[i], in hostkeys_find_by_key()
875 char **user_hostfiles, u_int num_user_hostfiles, in other_hostkeys_message() argument
882 user_hostfiles, num_user_hostfiles, in other_hostkeys_message()
996 char **user_hostfiles, u_int num_user_hostfiles, in check_host_key() argument
1058 load_hostkeys(host_hostkeys, host, user_hostfiles[i], 0); in check_host_key()
1070 load_hostkeys(ip_hostkeys, ip, user_hostfiles[i], 0); in check_host_key()
1167 else if (!add_host_to_hostfile(user_hostfiles[0], ip, in check_host_key()
1172 user_hostfiles[0]); in check_host_key()
1196 user_hostfiles, num_user_hostfiles, in check_host_key()
[all …]
H A Dclientloop.c2221 options.user_hostfiles[i], ctx->host_str, in check_old_keys_othernames()
2223 if ((r = hostkeys_foreach(options.user_hostfiles[i], in check_old_keys_othernames()
2228 options.user_hostfiles[i]); in check_old_keys_othernames()
2232 options.user_hostfiles[i]); in check_old_keys_othernames()
2320 if (stat(options.user_hostfiles[i], &sb) != 0) { in update_known_hosts()
2323 "exist", options.user_hostfiles[i]); in update_known_hosts()
2327 options.user_hostfiles[i], strerror(errno)); in update_known_hosts()
2331 if ((r = hostfile_replace_entries(options.user_hostfiles[i], in update_known_hosts()
2337 options.user_hostfiles[i]); in update_known_hosts()
2533 options.user_hostfiles[i], ctx->host_str, in client_input_hostkeys()
[all …]
H A Dssh.c1499 strcasecmp(options.user_hostfiles[0], "none") == 0) { in main()
1503 free(options.user_hostfiles[0]); in main()
1504 options.user_hostfiles[0] = NULL; in main()
1508 if (options.user_hostfiles[j] == NULL) in main()
1510 cp = tilde_expand_filename(options.user_hostfiles[j], getuid()); in main()
1512 if (strcmp(options.user_hostfiles[j], p) != 0) in main()
1514 "'%s'", options.user_hostfiles[j], p); in main()
1515 free(options.user_hostfiles[j]); in main()
1517 options.user_hostfiles[j] = p; in main()
1744 tilde_expand_paths(options.user_hostfiles, options.num_user_hostfiles); in main()
H A Dreadconf.h98 char *user_hostfiles[SSH_MAX_HOSTS_FILES]; member