1libssh2_agent_list_identities(3)    libssh2   libssh2_agent_list_identities(3)
2
3
4

NAME

6       libssh2_agent_list_identities  - request an ssh-agent to list of public
7       keys.
8

SYNOPSIS

10       #include <libssh2.h>
11
12       int
13       libssh2_agent_list_identities(LIBSSH2_AGENT *agent);
14

DESCRIPTION

16       Request an ssh-agent to list of public keys, and stores them in the in‐
17       ternal collection of the handle.  Call libssh2_agent_get_identity(3) to
18       get a public key off the collection.
19
20

RETURN VALUE

22       Returns 0 if succeeded, or a negative value for error.
23

AVAILABILITY

25       Added in libssh2 1.2
26

SEE ALSO

28       libssh2_agent_connect(3) libssh2_agent_get_identity(3)
29
30
31
32libssh2                           23 Dec 2009 libssh2_agent_list_identities(3)
Impressum