comparison options.h @ 249:efbaf6b03837

added keyboard-interactive client support
author Matt Johnston <matt@ucc.asn.au>
date Tue, 20 Sep 2005 17:35:21 +0000
parents ea5189f97cfd
children 29afa62b5450 63601217f5ab
comparison
equal deleted inserted replaced
248:bf64e666f99b 249:efbaf6b03837
131 /*#define ENABLE_SVR_PAM_AUTH*/ 131 /*#define ENABLE_SVR_PAM_AUTH*/
132 #define ENABLE_SVR_PUBKEY_AUTH 132 #define ENABLE_SVR_PUBKEY_AUTH
133 133
134 #define ENABLE_CLI_PASSWORD_AUTH 134 #define ENABLE_CLI_PASSWORD_AUTH
135 #define ENABLE_CLI_PUBKEY_AUTH 135 #define ENABLE_CLI_PUBKEY_AUTH
136 #define ENABLE_CLI_INTERACT_AUTH
136 137
137 /* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of 138 /* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of
138 * a helper program for the ssh client. The helper program should be 139 * a helper program for the ssh client. The helper program should be
139 * specified in the SSH_ASKPASS environment variable, and dbclient 140 * specified in the SSH_ASKPASS environment variable, and dbclient
140 * should be run with DISPLAY set and no tty. The program should 141 * should be run with DISPLAY set and no tty. The program should
313 #define DROPBEAR_MAX_SOCKS 2 /* IPv4, IPv6 are all we'll get for now. Revisit 314 #define DROPBEAR_MAX_SOCKS 2 /* IPv4, IPv6 are all we'll get for now. Revisit
314 in a few years time.... */ 315 in a few years time.... */
315 316
316 #define DROPBEAR_MAX_CLI_PASS 1024 317 #define DROPBEAR_MAX_CLI_PASS 1024
317 318
319 #define DROPBEAR_MAX_CLI_INTERACT_PROMPTS 80 /* The number of prompts we'll
320 accept for keyb-interactive
321 auth */
322
318 #if defined(DROPBEAR_AES256_CBC) || defined(DROPBEAR_AES128_CBC) 323 #if defined(DROPBEAR_AES256_CBC) || defined(DROPBEAR_AES128_CBC)
319 #define DROPBEAR_AES_CBC 324 #define DROPBEAR_AES_CBC
320 #endif 325 #endif
321 326
322 #if defined(DROPBEAR_TWOFISH256_CBC) || defined(DROPBEAR_TWOFISH128_CBC) 327 #if defined(DROPBEAR_TWOFISH256_CBC) || defined(DROPBEAR_TWOFISH128_CBC)