From db4a1e6d2dc2d21513337d2ce18ec16efddf7af0 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Fri, 21 Apr 2000 06:35:12 +0000 Subject: Don't make sshd listen on two ports by default (!) - this "feature" was silently added on 2000/01/14 as part of the IPv6 support. The default sshd config had sshd listening both on port 22 and port 722 (this was apparently intended to facilitate traffic-shaping in that different queueing priorities could be assigned to ssh sessions on the two ports). Combine two patches into one. Submitted by: peter --- security/ssh/files/patch-ae | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/security/ssh/files/patch-ae b/security/ssh/files/patch-ae index 5db3b9c4e63b..0ef0a89ae6c2 100644 --- a/security/ssh/files/patch-ae +++ b/security/ssh/files/patch-ae @@ -1,7 +1,13 @@ -*** server_config.sample.orig Wed May 12 20:18:51 1999 ---- server_config.sample Sun Jun 6 02:36:38 1999 +*** server_config.sample.old Thu Apr 20 23:24:57 2000 +--- server_config.sample Thu Apr 20 23:26:24 2000 *************** -*** 7,13 **** +*** 1,13 **** + # This is ssh server systemwide configuration file. + + Port 22 +! ListenAddress 0.0.0.0 + HostKey _ETCDIR_/ssh_host_key + RandomSeed _ETCDIR_/ssh_random_seed ServerKeyBits 768 LoginGraceTime 600 KeyRegenerationInterval 3600 @@ -9,7 +15,13 @@ IgnoreRhosts no StrictModes yes QuietMode no ---- 7,13 ---- +--- 1,13 ---- + # This is ssh server systemwide configuration file. + + Port 22 +! #Port 722 # Secondary port to listen on + HostKey _ETCDIR_/ssh_host_key + RandomSeed _ETCDIR_/ssh_random_seed ServerKeyBits 768 LoginGraceTime 600 KeyRegenerationInterval 3600 -- cgit v1.2.3