libssh2_userauth_publickey_fromfile_ex (3) Linux Manual Page
libssh2_userauth_publickey_fromfile – authenticate a session with a public key, read from a file Synopsis#include <libssh2.h> int libssh2_userauth_publickey_fromfile_ex(LIBSSH2_SESSION *session, const char *username, const char *publickey, const char *privatekey, const char *passphrase);Descriptionsession – Session instance as returned by libssh2_session_init_ex(3) username – Pointer to user name to authenticate as. username_len – Length of username. publickey – Path name…
