comparison options.h @ 1134:36557295418e

change DROPBEAR_DEFAULT_CLI_AUTHKEY to just prepend homedir rather than doing ~ expansion
author Matt Johnston <matt@ucc.asn.au>
date Mon, 03 Aug 2015 20:45:04 +0800
parents 1e486f368ec3
children 14854ea32d2c
comparison
equal deleted inserted replaced
1128:a9e074b78cd5 1134:36557295418e
220 #define ENABLE_CLI_PASSWORD_AUTH 220 #define ENABLE_CLI_PASSWORD_AUTH
221 #define ENABLE_CLI_PUBKEY_AUTH 221 #define ENABLE_CLI_PUBKEY_AUTH
222 #define ENABLE_CLI_INTERACT_AUTH 222 #define ENABLE_CLI_INTERACT_AUTH
223 223
224 /* A default argument for dbclient -i <privatekey>. 224 /* A default argument for dbclient -i <privatekey>.
225 leading "~" is expanded */ 225 Homedir is prepended unless path begins with / */
226 #define DROPBEAR_DEFAULT_CLI_AUTHKEY "~/.ssh/id_dropbear" 226 #define DROPBEAR_DEFAULT_CLI_AUTHKEY ".ssh/id_dropbear"
227 227
228 /* This variable can be used to set a password for client 228 /* This variable can be used to set a password for client
229 * authentication on the commandline. Beware of platforms 229 * authentication on the commandline. Beware of platforms
230 * that don't protect environment variables of processes etc. Also 230 * that don't protect environment variables of processes etc. Also
231 * note that it will be provided for all "hidden" client-interactive 231 * note that it will be provided for all "hidden" client-interactive