Lines Matching refs:agent_fd
251 int agent_fd; /* >=0 if agent supports key */ member
271 int agent_fd; member
391 authctxt.agent_fd = -1; in ssh_userauth2()
1022 if (id->key != NULL && id->agent_fd != -1) in identity_sign()
1023 return ssh_agent_sign(id->agent_fd, id->key, sigp, lenp, in identity_sign()
1132 if (!matched && !id->isprivate && id->agent_fd == -1 && in sign_and_send_pubkey()
1146 id->agent_fd != -1 ? " from agent" : ""); in sign_and_send_pubkey()
1279 if (!quit && private != NULL && id->agent_fd == -1 && in load_identity_file()
1308 int agent_fd = -1, i, r, found; in pubkey_prepare() local
1326 id->agent_fd = -1; in pubkey_prepare()
1339 id->agent_fd = -1; in pubkey_prepare()
1346 if ((r = ssh_get_authentication_socket(&agent_fd)) != 0) { in pubkey_prepare()
1350 } else if ((r = ssh_fetch_identitylist(agent_fd, 2, &idlist)) != 0) { in pubkey_prepare()
1354 close(agent_fd); in pubkey_prepare()
1366 id->agent_fd = agent_fd; in pubkey_prepare()
1378 id->agent_fd = agent_fd; in pubkey_prepare()
1388 authctxt->agent_fd = agent_fd; in pubkey_prepare()
1434 id->agent_fd != -1 ? ", agent" : ""); in pubkey_prepare()
1443 if (authctxt->agent_fd != -1) in pubkey_cleanup()
1444 ssh_close_authentication_socket(authctxt->agent_fd); in pubkey_cleanup()