aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libssh/session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/session.c b/libssh/session.c
index 8bc9740..65175e3 100644
--- a/libssh/session.c
+++ b/libssh/session.c
@@ -112,7 +112,7 @@ ssh_session ssh_new(void) {
goto err;
}
- id = strdup("SSH_DIR/id_rsa");
+ id = strdup("%d/id_rsa");
if (id == NULL) {
goto err;
}
@@ -121,7 +121,7 @@ ssh_session ssh_new(void) {
goto err;
}
- id = strdup("SSH_DIR/id_dsa");
+ id = strdup("%d/id_dsa");
if (id == NULL) {
goto err;
}
@@ -130,7 +130,7 @@ ssh_session ssh_new(void) {
goto err;
}
- id = strdup("SSH_DIR/identity");
+ id = strdup("%d/identity");
if (id == NULL) {
goto err;
}