1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/security/ssh/files/patch-ae
Kris Kennaway db4a1e6d2d 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
2000-04-21 06:35:12 +00:00

59 lines
1.3 KiB
Plaintext

*** server_config.sample.old Thu Apr 20 23:24:57 2000
--- server_config.sample Thu Apr 20 23:26:24 2000
***************
*** 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
! PermitRootLogin yes
IgnoreRhosts no
StrictModes yes
QuietMode no
--- 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
! PermitRootLogin no
IgnoreRhosts no
StrictModes yes
QuietMode no
***************
*** 16,27 ****
FascistLogging no
PrintMotd yes
KeepAlive yes
! SyslogFacility DAEMON
RhostsAuthentication no
RhostsRSAAuthentication yes
RSAAuthentication yes
PasswordAuthentication yes
! PermitEmptyPasswords yes
UseLogin no
# CheckMail no
# PidFile /u/zappa/.ssh/pid
--- 16,27 ----
FascistLogging no
PrintMotd yes
KeepAlive yes
! SyslogFacility AUTH
RhostsAuthentication no
RhostsRSAAuthentication yes
RSAAuthentication yes
PasswordAuthentication yes
! PermitEmptyPasswords no
UseLogin no
# CheckMail no
# PidFile /u/zappa/.ssh/pid