Home | History | Annotate | Download | only in openssh

Lines Matching defs:pw

226 ask_filename(struct passwd *pw, const char *prompt)
264 snprintf(identity_file, sizeof(identity_file), "%s/%s", pw->pw_dir, name);
304 do_convert_to_ssh2(struct passwd *pw, struct sshkey *k)
323 pw->pw_name, hostname);
382 do_convert_to(struct passwd *pw)
389 ask_filename(pw, "Enter file in which the key is");
396 do_convert_to_ssh2(pw, k);
570 do_convert_from_ssh2(struct passwd *pw, struct sshkey **k, int *private)
700 do_convert_from(struct passwd *pw)
707 ask_filename(pw, "Enter file in which the key is");
713 do_convert_from_ssh2(pw, &k, &private);
762 do_print_public(struct passwd *pw)
769 ask_filename(pw, "Enter file in which the key is");
783 do_download(struct passwd *pw)
827 do_fingerprint(struct passwd *pw)
840 ask_filename(pw, "Enter file in which the key is");
944 do_gen_all_hostkeys(struct passwd *pw)
996 snprintf(comment, sizeof comment, "%s@%s", pw->pw_name,
1148 do_known_hosts(struct passwd *pw, const char *name)
1155 cp = tilde_expand_filename(_PATH_SSH_USER_HOSTFILE, pw->pw_uid);
1244 do_change_passphrase(struct passwd *pw)
1253 ask_filename(pw, "Enter file in which the key is");
1332 do_print_resource_record(struct passwd *pw, char *fname, char *hname)
1362 do_change_comment(struct passwd *pw)
1372 ask_filename(pw, "Enter file in which the key is");
1588 do_ca_sign(struct passwd *pw, int argc, char **argv)
1619 tmp = tilde_expand_filename(ca_key_path, pw->pw_uid);
1641 tmp = tilde_expand_filename(argv[i], pw->pw_uid);
1898 do_show_cert(struct passwd *pw)
1907 ask_filename(pw, "Enter file in which the key is");
1985 update_krl_from_file(struct passwd *pw, const char *file, int wild_ca,
1995 path = tilde_expand_filename(file, pw->pw_uid);
2110 do_gen_krl(struct passwd *pw, int updating, int argc, char **argv)
2132 tmp = tilde_expand_filename(ca_key_path, pw->pw_uid);
2151 update_krl_from_file(pw, argv[i], wild_ca, ca, krl);
2170 do_check_krl(struct passwd *pw, int argc, char **argv)
2242 struct passwd *pw;
2269 pw = getpwuid(getuid());
2270 if (!pw) {
2510 do_gen_krl(pw, update_krl, argc, argv);
2514 do_check_krl(pw, argc, argv);
2520 do_ca_sign(pw, argc, argv);
2523 do_show_cert(pw);
2525 do_known_hosts(pw, rr_hostname);
2527 do_download(pw);
2529 do_fingerprint(pw);
2531 do_change_passphrase(pw);
2533 do_change_comment(pw);
2536 do_convert_to(pw);
2538 do_convert_from(pw);
2541 do_print_public(pw);
2546 n = do_print_resource_record(pw,
2555 n += do_print_resource_record(pw,
2557 n += do_print_resource_record(pw,
2559 n += do_print_resource_record(pw,
2561 n += do_print_resource_record(pw,
2610 do_gen_all_hostkeys(pw);
2633 ask_filename(pw, "Enter file in which to save the key");
2637 pw->pw_dir, _PATH_SSH_USER_DIR);
2694 snprintf(comment, sizeof comment, "%s@%s", pw->pw_name, hostname);