geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
916 B

  1. .\"
  2. .\" Copyright (c) 2009 by Daiki Ueno
  3. .\"
  4. .TH libssh2_agent_userauth 3 "23 Dec 2009" "libssh2 1.2" "libssh2 manual"
  5. .SH NAME
  6. libssh2_agent_userauth - authenticate a session with a public key, with the help of ssh-agent
  7. .SH SYNOPSIS
  8. #include <libssh2.h>
  9. int libssh2_agent_userauth(LIBSSH2_AGENT *agent,
  10. const char *username,
  11. struct libssh2_agent_publickey *identity);
  12. .SH DESCRIPTION
  13. \fIagent\fP - ssh-agent handle as returned by
  14. .BR libssh2_agent_init(3)
  15. \fIusername\fP - Remote user name to authenticate as.
  16. \fIidentity\fP - Public key to authenticate with, as returned by
  17. .BR libssh2_agent_get_identity(3)
  18. Attempt public key authentication with the help of ssh-agent.
  19. .SH RETURN VALUE
  20. Returns 0 if succeeded, or a negative value for error.
  21. .SH AVAILABILITY
  22. Added in libssh2 1.2
  23. .SH SEE ALSO
  24. .BR libssh2_agent_init(3)
  25. .BR libssh2_agent_get_identity(3)