libssh2_userauth_publickey
libssh2_userauth_publickey
Section: libssh2 manual (3) Updated: 1 Jun 2007 Local index
Up
NAME
libssh2_userauth_publickey - authenticate using a callback function
SYNOPSIS
#include <libssh2.h>
int libssh2_userauth_publickey(LIBSSH2_SESSION *session,
const char *user,
const unsigned char *pubkeydata,
size_t pubkeydata_len,
sign_callback,
void **abstract);
DESCRIPTION
Authenticate with the sign_callback callback that matches the prototype
below
CALLBACK
int name(LIBSSH2_SESSION *session, unsigned char **sig, size_t *sig_len,
const unsigned char *data, size_t data_len, void **abstract);
This function gets called...
RETURN VALUE
Return 0 on success or negative on failure.
SEE ALSO
libssh2_userauth_publickey_fromfile_ex(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- CALLBACK
-
- RETURN VALUE
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 07:57:05 GMT, June 15, 2011