Do not attempt to load an ssh2 RSA host key by default.

This commit is contained in:
Dag-Erling Smørgrav 2002-04-11 16:08:02 +00:00
parent 742c52629b
commit 9c0adca3e7

View File

@ -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;
}