comparison options.h @ 441:fdf06a5a54e4

Allow reading dbclient password from an environment var
author Matt Johnston <matt@ucc.asn.au>
date Sat, 17 Mar 2007 06:30:11 +0000
parents 7319d229799a
children d82a2a44c684
comparison
equal deleted inserted replaced
440:91939c8c2572 441:fdf06a5a54e4
138 138
139 #define ENABLE_CLI_PASSWORD_AUTH 139 #define ENABLE_CLI_PASSWORD_AUTH
140 #define ENABLE_CLI_PUBKEY_AUTH 140 #define ENABLE_CLI_PUBKEY_AUTH
141 #define ENABLE_CLI_INTERACT_AUTH 141 #define ENABLE_CLI_INTERACT_AUTH
142 142
143 /* This variable can be used to set a password for client
144 * authentication on the commandline. Beware of platforms
145 * that don't protect environment variables of processes etc. Also
146 * note that it will be provided for all "hidden" client-interactive
147 * style prompts - if you want something more sophisticated, use
148 * SSH_ASKPASS instead. Comment out this var to remove this functionality.*/
149 #define DROPBEAR_PASSWORD_ENV "DROPBEAR_PASSWORD"
150
143 /* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of 151 /* Define this (as well as ENABLE_CLI_PASSWORD_AUTH) to allow the use of
144 * a helper program for the ssh client. The helper program should be 152 * a helper program for the ssh client. The helper program should be
145 * specified in the SSH_ASKPASS environment variable, and dbclient 153 * specified in the SSH_ASKPASS environment variable, and dbclient
146 * should be run with DISPLAY set and no tty. The program should 154 * should be run with DISPLAY set and no tty. The program should
147 * return the password on standard output */ 155 * return the password on standard output */