diff options
author | Jakub Jelen <jjelen@redhat.com> | 2019-07-01 11:26:14 +0200 |
---|---|---|
committer | Jakub Jelen <jjelen@redhat.com> | 2019-07-30 16:19:27 +0200 |
commit | cc92e743094bca78a0167504e854e29060a3bc75 (patch) | |
tree | 28a6480371ae41c5e176598abf4c4c2dfaf8cd77 | |
parent | 68baebbd6222995ca5aceac1d9dac53fe0b8a7c0 (diff) | |
download | libssh-cc92e743094bca78a0167504e854e29060a3bc75.tar.gz libssh-cc92e743094bca78a0167504e854e29060a3bc75.tar.xz libssh-cc92e743094bca78a0167504e854e29060a3bc75.zip |
examples: Load ED25519 key when loading all keys
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | examples/ssh_server_fork.c | 2 |
1 files changed, 2 insertions, 0 deletions
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}; |