Do not attempt to load an ssh2 RSA host key by default.
This commit is contained in:
parent
742c52629b
commit
9c0adca3e7
@ -123,8 +123,6 @@ fill_default_server_options(ServerOptions *options)
|
||||
options->host_key_files[options->num_host_key_files++] =
|
||||
_PATH_HOST_KEY_FILE;
|
||||
if (options->protocol & SSH_PROTO_2) {
|
||||
options->host_key_files[options->num_host_key_files++] =
|
||||
_PATH_HOST_RSA_KEY_FILE;
|
||||
options->host_key_files[options->num_host_key_files++] =
|
||||
_PATH_HOST_DSA_KEY_FILE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user