Do not attempt to load an ssh2 RSA host key by default.
This commit is contained in:
parent
742c52629b
commit
9c0adca3e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94438
@ -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