libssh2_userauth_publickey (3) - Linux Manuals
libssh2_userauth_publickey: authenticate using a callback function
NAME
libssh2_userauth_publickey - authenticate using a callback functionSYNOPSIS
#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 belowCALLBACK
int name(LIBSSH2_SESSION *session, unsigned char **sig, size_t *sig_len, const unsigned char *data, size_t data_len, void **abstract);