libssh2_agent_connect.3 (594B)
1.\" 2.\" Copyright (c) 2009 by Daiki Ueno 3.\" 4.TH libssh2_agent_connect 3 "23 Dec 2009" "libssh2" "libssh2" 5.SH NAME 6libssh2_agent_connect - connect to an ssh-agent 7.SH SYNOPSIS 8.nf 9#include <libssh2.h> 10 11int 12libssh2_agent_connect(LIBSSH2_AGENT *agent); 13.fi 14.SH DESCRIPTION 15Connect to an ssh-agent running on the system. 16 17Call \fBlibssh2_agent_disconnect(3)\fP to close the connection after 18you are doing using it. 19.SH RETURN VALUE 20Returns 0 if succeeded, or a negative value for error. 21.SH AVAILABILITY 22Added in libssh2 1.2 23.SH SEE ALSO 24.BR libssh2_agent_init(3) 25.BR libssh2_agent_disconnect(3)