added keyboard-interactive client support

--HG--
extra : convert_revision : 3df738e42f4fc8b7f0f3ff9ca767386f54edb1ea
This commit is contained in:
Matt Johnston
2005-09-20 17:35:21 +00:00
parent cb2cb15916
commit 876b7081d8
9 changed files with 282 additions and 18 deletions

View File

@@ -226,6 +226,13 @@ struct clientsession {
int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD,
for the last type of auth we tried */
#ifdef ENABLE_CLI_INTERACT_AUTH
int auth_interact_failed; /* flag whether interactive auth can still
be used */
int interact_request_received; /* flag whether we've received an
info request from the server for
interactive auth.*/
#endif
struct SignKeyList *lastprivkey;
int retval; /* What the command exit status was - we emulate it */