libssh2_agent_connect.3 597 B

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