From c092101e019316975108e4afbe66802520ef510a Mon Sep 17 00:00:00 2001 From: Kohei Suzuki Date: Sat, 16 Jan 2016 18:52:05 +0900 Subject: Add id_ed25519 to the default identity list Signed-off-by: Kohei Suzuki Reviewed-by: Andreas Schneider --- src/session.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/session.c b/src/session.c index a9db298e..6885866f 100644 --- a/src/session.c +++ b/src/session.c @@ -115,6 +115,15 @@ ssh_session ssh_new(void) { goto err; } + id = strdup("%d/id_ed25519"); + if (id == NULL) { + goto err; + } + rc = ssh_list_append(session->opts.identity, id); + if (rc == SSH_ERROR) { + goto err; + } + #ifdef HAVE_ECC id = strdup("%d/id_ecdsa"); if (id == NULL) { -- cgit v1.2.3