Skip to content

Commit e5fdd3e

Browse files
dvolodin7pkittenis
authored andcommitted
#58 Session.userauth_keyboardinteractive method (#76)
Session userauth_keyboardinteractive implementation and tests
1 parent a3d077e commit e5fdd3e

File tree

4 files changed

+816
-548
lines changed

4 files changed

+816
-548
lines changed

ssh2/c_ssh2.pxd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,15 @@ cdef extern from "libssh2.h" nogil:
134134
(void *))
135135
int libssh2_userauth_password(LIBSSH2_SESSION *session,
136136
const char *username, const char *password)
137+
int libssh2_userauth_keyboard_interactive_ex(LIBSSH2_SESSION *session,
138+
const char *username,
139+
unsigned int username_len,
140+
const char *password,
141+
unsigned int password_len,
142+
(void *))
143+
int libssh2_userauth_keyboard_interactive(LIBSSH2_SESSION *session,
144+
const char *username,
145+
const char *password)
137146
int libssh2_userauth_publickey_fromfile_ex(LIBSSH2_SESSION *session,
138147
const char *username,
139148
unsigned int username_len,

0 commit comments

Comments
 (0)