Merge from vendor branch ATHEROS:
[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.5 2006/02/13 14:47:58 corecode Exp $
2 --- ../../../crypto/openssh-4/sshd_config       2005-09-08 01:40:57.000000000 +0200
3 +++ sshd_config 2005-09-08 14:51:08.000000000 +0200
4 @@ -1,4 +1,5 @@
5  #      $OpenBSD: sshd_config,v 1.72 2005/07/25 11:59:40 markus Exp $
6 +#      $DragonFly: src/secure/usr.sbin/sshd/Attic/sshd_config.no_obj.patch,v 1.5 2006/02/13 14:47:58 corecode Exp $
7  
8  # This is the sshd server system-wide configuration file.  See
9  # sshd_config(5) for more information.
10 @@ -10,8 +11,13 @@
11  # possible, but leave them commented.  Uncommented options change a
12  # default value.
13  
14 +# Note that some of DragonFly's defaults differ from OpenBSD's, and
15 +# DragonFly has a few additional options.
16 +
17 +#VersionAddendum DragonFly-20060212
18 +
19  #Port 22
20 -#Protocol 2,1
21 +#Protocol 2
22  #AddressFamily any
23  #ListenAddress 0.0.0.0
24  #ListenAddress ::
25 @@ -19,7 +25,6 @@
26  # HostKey for protocol version 1
27  #HostKey /etc/ssh/ssh_host_key
28  # HostKeys for protocol version 2
29 -#HostKey /etc/ssh/ssh_host_rsa_key
30  #HostKey /etc/ssh/ssh_host_dsa_key
31  
32  # Lifetime and size of ephemeral version 1 server key
33 @@ -34,7 +39,7 @@
34  # Authentication:
35  
36  #LoginGraceTime 2m
37 -#PermitRootLogin yes
38 +#PermitRootLogin no
39  #StrictModes yes
40  #MaxAuthTries 6
41  
42 @@ -56,7 +61,7 @@
43  #PasswordAuthentication yes
44  #PermitEmptyPasswords no
45  
46 -# Change to no to disable s/key passwords
47 +# Change to no to disable OPIE and PAM authentication
48  #ChallengeResponseAuthentication yes
49  
50  # Kerberos options
51 @@ -81,7 +86,7 @@
52  
53  #AllowTcpForwarding yes
54  #GatewayPorts no
55 -#X11Forwarding no
56 +#X11Forwarding yes
57  #X11DisplayOffset 10
58  #X11UseLocalhost yes
59  #PrintMotd yes
60 @@ -97,6 +102,8 @@
61  #PidFile /var/run/sshd.pid
62  #MaxStartups 10
63  
64 +#XAuthLocation /usr/pkg/xorg/bin/xauth
65 +
66  # no default banner path
67  #Banner /some/path
68