From cc92e743094bca78a0167504e854e29060a3bc75 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mon, 1 Jul 2019 11:26:14 +0200 Subject: [PATCH] examples: Load ED25519 key when loading all keys Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider --- examples/ssh_server_fork.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/ssh_server_fork.c b/examples/ssh_server_fork.c index e346dd39..c9892d86 100644 --- a/examples/ssh_server_fork.c +++ b/examples/ssh_server_fork.c @@ -70,6 +70,8 @@ static void set_default_keys(ssh_bind sshbind, ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_ECDSAKEY, KEYS_FOLDER "ssh_host_ecdsa_key"); } + ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_HOSTKEY, + KEYS_FOLDER "ssh_host_ed25519_key"); } #define DEF_STR_SIZE 1024 char authorizedkeys[DEF_STR_SIZE] = {0};