/ | Mailing list | Docs | Examples | GitHub
libssh2_userauth_publickey_fromfile

Name

libssh2_userauth_publickey_fromfile - convenience macro for libssh2_userauth_publickey_fromfile_ex calls

Synopsis

#include <libssh2.h>
 
int
libssh2_userauth_publickey_fromfile(LIBSSH2_SESSION *session,
                                    const char *username,
                                    const char *publickey,
                                    const char *privatekey,
                                    const char *passphrase);

Description

This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_userauth_publickey_fromfile_ex.

Return value

See libssh2_userauth_publickey_fromfile_ex

Errors

See libssh2_userauth_publickey_fromfile_ex

See also

libssh2_userauth_publickey_fromfile_ex

This HTML page was made with roffit.