aboutsummaryrefslogtreecommitdiff
path: root/libssh/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/options.c')
-rw-r--r--libssh/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/options.c b/libssh/options.c
index 4fdd5dc..f87af58 100644
--- a/libssh/options.c
+++ b/libssh/options.c
@@ -425,7 +425,7 @@ int ssh_options_set(ssh_session session, enum ssh_options_e type,
if (value == NULL) {
SAFE_FREE(session->sshdir);
- session->sshdir = ssh_path_expand_tilde("~/.ssh/");
+ session->sshdir = ssh_path_expand_tilde("~/.ssh");
if (session->sshdir == NULL) {
return -1;
}