1libssh2_agent_connect(3) libssh2 manual libssh2_agent_connect(3)
2
3
4
6 libssh2_agent_connect - connect to an ssh-agent
7
9 #include <libssh2.h>
10
11 int libssh2_agent_connect(LIBSSH2_AGENT *agent);
12
14 Connect to an ssh-agent running on the system.
15
16 Call libssh2_agent_disconnect(3) to close the connection after you're
17 doing using it.
18
20 Returns 0 if succeeded, or a negative value for error.
21
23 Added in libssh2 1.2
24
26 libssh2_agent_init(3) libssh2_agent_disconnect(3)
27
28
29
30
31libssh2 1.2 23 Dec 2009 libssh2_agent_connect(3)