Mercurial > dropbear
diff 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 |
line wrap: on
line diff
--- a/options.h Tue Jun 23 21:48:13 2015 +0800 +++ b/options.h Mon Aug 03 20:45:04 2015 +0800 @@ -222,8 +222,8 @@ #define ENABLE_CLI_INTERACT_AUTH /* A default argument for dbclient -i <privatekey>. - leading "~" is expanded */ -#define DROPBEAR_DEFAULT_CLI_AUTHKEY "~/.ssh/id_dropbear" +Homedir is prepended unless path begins with / */ +#define DROPBEAR_DEFAULT_CLI_AUTHKEY ".ssh/id_dropbear" /* This variable can be used to set a password for client * authentication on the commandline. Beware of platforms