Merge from vendor branch OPENSSH:
[dragonfly.git] / secure / usr.sbin / sshd / sshd_config.no_obj.patch
1 $DragonFly: src/secure/usr.sbin/sshd/Attic/sshd_config.no_obj.patch,v 1.3 2005/07/11 22:49:46 corecode Exp $
2 --- ../../../crypto/openssh-4/sshd_config       2005-01-20 00:57:56.000000000 +0100
3 +++ sshd_config 2005-07-11 23:39:43.000000000 +0200
4 @@ -10,8 +10,13 @@
5  # possible, but leave them commented.  Uncommented options change a
6  # default value.
7  
8 +# Note that some of DragonFly's defaults differ from OpenBSD's, and
9 +# DragonFly has a few additional options.
10 +
11 +#VersionAddendum DragonFly-20040710
12 +
13  #Port 22
14 -#Protocol 2,1
15 +#Protocol 2
16  #AddressFamily any
17  #ListenAddress 0.0.0.0
18  #ListenAddress ::
19 @@ -19,7 +24,6 @@
20  # HostKey for protocol version 1
21  #HostKey /etc/ssh/ssh_host_key
22  # HostKeys for protocol version 2
23 -#HostKey /etc/ssh/ssh_host_rsa_key
24  #HostKey /etc/ssh/ssh_host_dsa_key
25  
26  # Lifetime and size of ephemeral version 1 server key
27 @@ -34,7 +38,7 @@
28  # Authentication:
29  
30  #LoginGraceTime 2m
31 -#PermitRootLogin yes
32 +#PermitRootLogin no
33  #StrictModes yes
34  #MaxAuthTries 6
35  
36 @@ -56,7 +60,7 @@
37  #PasswordAuthentication yes
38  #PermitEmptyPasswords no
39  
40 -# Change to no to disable s/key passwords
41 +# Change to no to disable OPIE and PAM authentication
42  #ChallengeResponseAuthentication yes
43  
44  # Kerberos options
45 @@ -81,7 +85,7 @@
46  
47  #AllowTcpForwarding yes
48  #GatewayPorts no
49 -#X11Forwarding no
50 +#X11Forwarding yes
51  #X11DisplayOffset 10
52  #X11UseLocalhost yes
53  #PrintMotd yes
54 @@ -97,6 +101,9 @@
55  #PidFile /var/run/sshd.pid
56  #MaxStartups 10
57  
58 +#XAuthLocation /usr/X11R6/bin/xauth            # default ports/dfports
59 +#XAuthLocation /usr/pkg/xorg/bin/xauth         # localtion for pkgsrc
60 +
61  # no default banner path
62  #Banner /some/path
63