table of contents
libssh2_agent_userauth(3) | libssh2 manual | libssh2_agent_userauth(3) |
NAME¶
libssh2_agent_userauth - authenticate a session with a public key, with the help of ssh-agentSYNOPSIS¶
#include <libssh2.h>const char *username,
struct libssh2_agent_publickey *identity);
DESCRIPTION¶
agent - ssh-agent handle as returned by libssh2_agent_init(3)RETURN VALUE¶
Returns 0 if succeeded, or a negative value for error.AVAILABILITY¶
Added in libssh2 1.2SEE ALSO¶
libssh2_agent_init(3) libssh2_agent_get_identity(3)23 Dec 2009 | libssh2 1.2 |