summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-08-03 20:45:04 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-08-03 20:45:04 +0800
commite0364bef5b0eed7322ed94581b3feb107b9027c7 (patch)
tree671243020ad97c4ee7d3fb515deb18b4f474e086 /options.h
parent5174f6d8bc39e2d7025e16122b27c048eb55c675 (diff)
downloaddropbear-e0364bef5b0eed7322ed94581b3feb107b9027c7.tar.gz
change DROPBEAR_DEFAULT_CLI_AUTHKEY to just prepend homedir
rather than doing ~ expansion
Diffstat (limited to 'options.h')
-rw-r--r--options.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.h b/options.h
index 41cc129..c61d4d9 100644
--- a/options.h
+++ b/options.h
@@ -222,8 +222,8 @@ If you test it please contact the Dropbear author */
#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