diff options
| author | Andreas Schneider <asn@cynapses.org> | 2010-05-28 10:46:50 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cynapses.org> | 2010-05-28 10:47:37 +0200 |
| commit | 26989ab0012ae12a91967e5009a401edb133afd8 (patch) | |
| tree | 5abe5c66086857f9942c0913366708e07efb3b56 /libssh | |
| parent | 5b2e39cd79b6c344f962fc0d123a0944f5a62f8e (diff) | |
session: Fixed setting up default identity files.
Diffstat (limited to 'libssh')
| -rw-r--r-- | libssh/session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/session.c b/libssh/session.c index d6d232a2..5a57599f 100644 --- a/libssh/session.c +++ b/libssh/session.c @@ -104,7 +104,7 @@ ssh_session ssh_new(void) { goto err; } - id = strdup("SSH_DIR/id_rsa"); + id = strdup("%d/id_rsa"); if (id == NULL) { goto err; } @@ -113,7 +113,7 @@ ssh_session ssh_new(void) { goto err; } - id = strdup("SSH_DIR/id_dsa"); + id = strdup("%d/id_dsa"); if (id == NULL) { goto err; } @@ -122,7 +122,7 @@ ssh_session ssh_new(void) { goto err; } - id = strdup("SSH_DIR/identity"); + id = strdup("%d/identity"); if (id == NULL) { goto err; } |
