Add keyboard interactive authentication.

Implementation contributed by Mikhail Gusarov.
This commit is contained in:
Sara Golemon
2005-06-11 19:18:06 +00:00
parent 9203a62789
commit da653774aa
4 changed files with 223 additions and 0 deletions

View File

@@ -407,6 +407,9 @@ void _libssh2_debug(LIBSSH2_SESSION *session, int context, const char *format, .
#define SSH_MSG_USERAUTH_PK_OK 60
/* "password" method */
#define SSH_MSG_USERAUTH_PASSWD_CHANGEREQ 60
/* "keyboard-interactive" method */
#define SSH_MSG_USERAUTH_INFO_REQUEST 60
#define SSH_MSG_USERAUTH_INFO_RESPONSE 61
/* Channels */
#define SSH_MSG_GLOBAL_REQUEST 80