1libssh2_userauth_publickey(3) libssh2 manual libssh2_userauth_publickey(3)
2
3
4
6 libssh2_userauth_publickey - authenticate using a callback function
7
9 #include <libssh2.h>
10
11 int libssh2_userauth_publickey(LIBSSH2_SESSION *session,
12 const char *user,
13 const unsigned char *pubkeydata,
14 size_t pubkeydata_len,
15 sign_callback,
16 void **abstract);
17
19 Authenticate with the sign_callback callback that matches the prototype
20 below
21
23 int name(LIBSSH2_SESSION *session, unsigned char **sig, size_t *sig_len,
24 const unsigned char *data, size_t data_len, void **abstract);
25
26 This function gets called...
27
29 Return 0 on success or negative on failure.
30
32 libssh2_userauth_publickey_fromfile_ex(3)
33
34
35
36libssh2 0.15 1 Jun 2007 libssh2_userauth_publickey(3)