diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-23 20:19:24 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-23 21:54:02 +0200 |
commit | 379d65eaaf14c7ad699bb3752a5866ccb614f1af (patch) | |
tree | 732d40ad3c59f96209052b556233885eaceca61c /include/libssh/libssh.h | |
parent | aa018c1484ce053bf88dbe066988b5e39a2c0317 (diff) | |
download | libssh-379d65eaaf14c7ad699bb3752a5866ccb614f1af.tar.gz libssh-379d65eaaf14c7ad699bb3752a5866ccb614f1af.tar.xz libssh-379d65eaaf14c7ad699bb3752a5866ccb614f1af.zip |
auth: Add ssh_userauth_publickey().
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 89c42585..01d6c524 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -497,6 +497,9 @@ LIBSSH_API int ssh_userauth_list(ssh_session session, const char *username); LIBSSH_API int ssh_userauth_try_publickey(ssh_session session, const char *username, const ssh_key pubkey); +LIBSSH_API int ssh_userauth_publickey(ssh_session session, + const char *username, + const ssh_key privkey); #ifndef _WIN32 LIBSSH_API int ssh_userauth_agent_pubkey(ssh_session session, const char *username, |