Mercurial > dropbear
diff 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 |
line wrap: on
line diff
--- a/options.h Mon Feb 28 10:15:16 2005 +0000 +++ b/options.h Mon Feb 28 13:01:00 2005 +0000 @@ -126,6 +126,13 @@ #define ENABLE_CLI_PASSWORD_AUTH #define ENABLE_CLI_PUBKEY_AUTH +/* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of + * a helper program for the ssh client. The helper program should be + * specified in the SSH_ASKPASS environment variable, and dbclient + * should be run with DISPLAY set and no tty. The program should + * return the password on standard output */ +/*#define ENABLE_CLI_ASKPASS_HELPER*/ + /* Random device to use - define either DROPBEAR_RANDOM_DEV or * DROPBEAR_PRNGD_SOCKET. * DROPBEAR_RANDOM_DEV is recommended on hosts with a good /dev/(u)random, @@ -297,6 +304,8 @@ #define DROPBEAR_MAX_SOCKS 2 /* IPv4, IPv6 are all we'll get for now. Revisit in a few years time.... */ +#define DROPBEAR_MAX_CLI_PASS 1024 + #ifndef ENABLE_X11FWD #define DISABLE_X11FWD #endif