Skip to content

Commit

Permalink
#58 Session.userauth_keyboardinteractive method (#76)
Browse files Browse the repository at this point in the history
Session userauth_keyboardinteractive implementation and tests
  • Loading branch information
dvolodin7 authored and pkittenis committed Jul 5, 2019
1 parent a3d077e commit e5fdd3e
Show file tree
Hide file tree
Showing 4 changed files with 816 additions and 548 deletions.
9 changes: 9 additions & 0 deletions ssh2/c_ssh2.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@ cdef extern from "libssh2.h" nogil:
(void *))
int libssh2_userauth_password(LIBSSH2_SESSION *session,
const char *username, const char *password)
int libssh2_userauth_keyboard_interactive_ex(LIBSSH2_SESSION *session,
const char *username,
unsigned int username_len,
const char *password,
unsigned int password_len,
(void *))
int libssh2_userauth_keyboard_interactive(LIBSSH2_SESSION *session,
const char *username,
const char *password)
int libssh2_userauth_publickey_fromfile_ex(LIBSSH2_SESSION *session,
const char *username,
unsigned int username_len,
Expand Down

0 comments on commit e5fdd3e

Please sign in to comment.