libssh2_agent_list_identities.3 (689B)
1.\" 2.\" Copyright (c) 2009 by Daiki Ueno 3.\" 4.TH libssh2_agent_list_identities 3 "23 Dec 2009" "libssh2" "libssh2" 5.SH NAME 6libssh2_agent_list_identities - request an ssh-agent to list of public keys. 7.SH SYNOPSIS 8.nf 9#include <libssh2.h> 10 11int 12libssh2_agent_list_identities(LIBSSH2_AGENT *agent); 13.fi 14.SH DESCRIPTION 15Request an ssh-agent to list of public keys, and stores them in the 16internal collection of the handle. Call 17\fIlibssh2_agent_get_identity(3)\fP to get a public key off the 18collection. 19 20.SH RETURN VALUE 21Returns 0 if succeeded, or a negative value for error. 22.SH AVAILABILITY 23Added in libssh2 1.2 24.SH SEE ALSO 25.BR libssh2_agent_connect(3) 26.BR libssh2_agent_get_identity(3)