Query: libssh2_userauth_publickey
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
libssh2_userauth_publickey(3) libssh2 manual libssh2_userauth_publickey(3)NAMElibssh2_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);DESCRIPTIONAuthenticate with the sign_callback callback that matches the prototype belowCALLBACKint 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 VALUEReturn 0 on success or negative on failure.SEE ALSOlibssh2_userauth_publickey_fromfile_ex(3) libssh2 0.15 1 Jun 2007 libssh2_userauth_publickey(3)