table of contents
libssh2_agent_get_identity(3) | libssh2 manual | libssh2_agent_get_identity(3) |
NAME¶
libssh2_agent_get_identity - get a public key off the collection of public keys managed by ssh-agentSYNOPSIS¶
#include <libssh2.h>struct libssh2_agent_publickey **store,
struct libssh2_agent_publickey *prev);
DESCRIPTION¶
libssh2_agent_get_identity(3) allows an application to iterate over all public keys in the collection managed by ssh-agent.RETURN VALUE¶
Returns 0 if everything is fine and information about a host was stored in the store struct.AVAILABILITY¶
Added in libssh2 1.2SEE ALSO¶
libssh2_agent_list_identities(3) libssh2_agent_userauth(3)23 Dec 2009 | libssh2 1.2 |