GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIBSSH2_USERAUTH_PUBLICKEY (3)

NAME

libssh2_userauth_publickey - authenticate using a callback function

CONTENTS

Synopsis
Description
Callback
Return Value
See Also

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)
Search for    or go to Top of page |  Section 3 |  Main Index


libssh2 0.15 LIBSSH2_USERAUTH_PUBLICKEY (3) 1 Jun 2007

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.