libssh2_userauth_hostbased_fromfile (3) - Linux Manuals

libssh2_userauth_hostbased_fromfile: convenience macro for libssh2_userauth_hostbased_fromfile_ex(3) calls

NAME

libssh2_userauth_hostbased_fromfile - convenience macro for libssh2_userauth_hostbased_fromfile_ex(3) calls

SYNOPSIS

#include <libssh2.h>

int libssh2_userauth_hostbased_fromfile(LIBSSH2_SESSION *session, const char *username, const char *publickey, const char *privatekey, const char *passphrase, const char *hostname);

DESCRIPTION

This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_userauth_hostbased_fromfile_ex(3).

RETURN VALUE

See libssh2_userauth_hostbased_fromfile_ex(3)

ERRORS

See libssh2_userauth_hostbased_fromfile_ex(3)