Home
last modified time | relevance | path

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

/netbsd/crypto/external/bsd/openssh/dist/
H A Dssh-add.c130 delete_stdin(int agent_fd, int qflag) in delete_stdin() argument
167 return delete_stdin(agent_fd, qflag); in delete_file()
207 delete_all(int agent_fd, int qflag) in delete_all() argument
219 ssh_remove_all_identities(agent_fd, 1); in delete_all()
472 test_key(int agent_fd, const char *filename) in test_key() argument
507 list_identities(int agent_fd, int do_fp) in list_identities() argument
550 lock_agent(int agent_fd, int lock) in lock_agent() argument
786 int agent_fd; in main() local
927 if (delete_all(agent_fd, qflag) == -1) in main()
954 r |= test_key(agent_fd, argv[i]); in main()
[all …]
H A Dsshconnect2.c349 int agent_fd; member
480 authctxt.agent_fd = -1; in ssh_userauth2()
1674 int r, agent_fd; in get_agent_identities() local
1690 close(agent_fd); in get_agent_identities()
1694 *agent_fdp = agent_fd; in get_agent_identities()
1741 id->agent_fd = -1; in pubkey_prepare()
1764 id->agent_fd = -1; in pubkey_prepare()
1788 id->agent_fd = agent_fd; in pubkey_prepare()
1800 id->agent_fd = agent_fd; in pubkey_prepare()
1807 authctxt->agent_fd = agent_fd; in pubkey_prepare()
[all …]
H A Dssh-keygen.c1739 int r, i, found, agent_fd = -1; in do_ca_sign() local
1764 if ((r = ssh_get_authentication_socket(&agent_fd)) != 0) in do_ca_sign()
1766 if ((r = ssh_fetch_identitylist(agent_fd, &agent_ids)) != 0) in do_ca_sign()
1843 if (agent_fd != -1 && (ca->flags & SSHKEY_FLAG_EXT) != 0) { in do_ca_sign()
1846 &agent_fd)) != 0) in do_ca_sign()
2685 int agent_fd = -1; in sig_sign() local
2706 if ((r = ssh_get_authentication_socket(&agent_fd)) != 0) { in sig_sign()
2711 if ((r = ssh_agent_has_key(agent_fd, pubkey)) == 0) in sig_sign()
2732 sig_namespace, hashalg, signer, &agent_fd)) != 0) in sig_sign()
2744 hashalg, signer, &agent_fd)) != 0) in sig_sign()
/netbsd/lib/libpam/modules/pam_ssh/
H A Dpam_ssh.c361 int agent_fd; in pam_ssh_add_keys_to_agent() local
373 if (ssh_get_authentication_socket(&agent_fd) != 0) { in pam_ssh_add_keys_to_agent()
378 agent_fd = -1; in pam_ssh_add_keys_to_agent()
388 if (ssh_add_identity(agent_fd, psk->key, psk->comment)) in pam_ssh_add_keys_to_agent()
401 if (agent_fd != -1) in pam_ssh_add_keys_to_agent()
402 ssh_close_authentication_socket(agent_fd); in pam_ssh_add_keys_to_agent()