summaryrefslogtreecommitdiffhomepage
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
commit941c067765fce8d8f9cf73bc77ffc4b8791395c0 (patch)
tree98521fb8db5ca97f5bdb6ebb4a47e98dce0d6468 /options.h
parent839e023ed88e7c8c42b8ea8bb9e11ffd46668d9c (diff)
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