comparison options.h @ 173:257f09a63dab

* add SSH_ASKPASS support (based on patch from Paul Whittaker * don't exit if setnonblocking() fails with "not supported by device" (allows redirection from /dev/null)
author Matt Johnston <matt@ucc.asn.au>
date Mon, 28 Feb 2005 13:01:00 +0000
parents 3e49d8d18005
children bc69564ef57b
comparison
equal deleted inserted replaced
172:3e49d8d18005 173:257f09a63dab
124 #define ENABLE_SVR_PUBKEY_AUTH 124 #define ENABLE_SVR_PUBKEY_AUTH
125 125
126 #define ENABLE_CLI_PASSWORD_AUTH 126 #define ENABLE_CLI_PASSWORD_AUTH
127 #define ENABLE_CLI_PUBKEY_AUTH 127 #define ENABLE_CLI_PUBKEY_AUTH
128 128
129 /* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of
130 * a helper program for the ssh client. The helper program should be
131 * specified in the SSH_ASKPASS environment variable, and dbclient
132 * should be run with DISPLAY set and no tty. The program should
133 * return the password on standard output */
134 /*#define ENABLE_CLI_ASKPASS_HELPER*/
135
129 /* Random device to use - define either DROPBEAR_RANDOM_DEV or 136 /* Random device to use - define either DROPBEAR_RANDOM_DEV or
130 * DROPBEAR_PRNGD_SOCKET. 137 * DROPBEAR_PRNGD_SOCKET.
131 * DROPBEAR_RANDOM_DEV is recommended on hosts with a good /dev/(u)random, 138 * DROPBEAR_RANDOM_DEV is recommended on hosts with a good /dev/(u)random,
132 * otherwise use run prngd (or egd if you want), specifying the socket. 139 * otherwise use run prngd (or egd if you want), specifying the socket.
133 * The device will be queried for a few dozen bytes of seed a couple of times 140 * The device will be queried for a few dozen bytes of seed a couple of times
295 #define MAX_PRIVKEY_SIZE 1600 302 #define MAX_PRIVKEY_SIZE 1600
296 303
297 #define DROPBEAR_MAX_SOCKS 2 /* IPv4, IPv6 are all we'll get for now. Revisit 304 #define DROPBEAR_MAX_SOCKS 2 /* IPv4, IPv6 are all we'll get for now. Revisit
298 in a few years time.... */ 305 in a few years time.... */
299 306
307 #define DROPBEAR_MAX_CLI_PASS 1024
308
300 #ifndef ENABLE_X11FWD 309 #ifndef ENABLE_X11FWD
301 #define DISABLE_X11FWD 310 #define DISABLE_X11FWD
302 #endif 311 #endif
303 312
304 #ifndef ENABLE_AGENTFWD 313 #ifndef ENABLE_AGENTFWD