Pull asbesthos underpants on and disable protocol version 1 by default.

This commit is contained in:
Dag-Erling Smørgrav 2004-02-26 10:24:07 +00:00
parent 8861f1dd53
commit 028c324ac8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126271
3 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ fill_default_server_options(ServerOptions *options)
/* Standard Options */
if (options->protocol == SSH_PROTO_UNKNOWN)
options->protocol = SSH_PROTO_1|SSH_PROTO_2;
options->protocol = SSH_PROTO_2;
if (options->num_host_key_files == 0) {
/* fill default hostkeys for protocols */
if (options->protocol & SSH_PROTO_1)

View File

@ -17,7 +17,7 @@
#VersionAddendum FreeBSD-20040106
#Port 22
#Protocol 2,1
#Protocol 2
#ListenAddress 0.0.0.0
#ListenAddress ::

View File

@ -548,7 +548,7 @@ and
.Dq 2 .
Multiple versions must be comma-separated.
The default is
.Dq 2,1 .
.Dq 2 .
Note that the order of the protocol list does not indicate preference,
because the client selects among multiple protocol versions offered
by the server.