HAMMER 60I/Many: Mirroring
[dragonfly.git] / crypto / openssh-5 / sshd_config
blob2923a8af03ca48f0bd6a2828f4f2dc31f9ed1c0c
1 #       $OpenBSD: sshd_config,v 1.77 2008/02/08 23:24:07 djm Exp $
2 #       $DragonFly: src/crypto/openssh-5/sshd_config,v 1.3 2008/05/16 10:48:44 corecode Exp $
4 # This is the sshd server system-wide configuration file.  See
5 # sshd_config(5) for more information.
7 # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
9 # The strategy used for options in the default sshd_config shipped with
10 # OpenSSH is to specify options with their default value where
11 # possible, but leave them commented.  Uncommented options change a
12 # default value.
14 # Note that some of DragonFly's defaults differ from OpenBSD's, and
15 # DragonFly has a few additional options.
17 #VersionAddendum DragonFly-20080406
19 #Port 22
20 #AddressFamily any
21 #ListenAddress 0.0.0.0
22 #ListenAddress ::
24 # Disable legacy (protocol version 1) support in the server for new
25 # installations. In future the default will change to require explicit
26 # activation of protocol 1
27 Protocol 2
29 # HostKey for protocol version 1
30 #HostKey /etc/ssh/ssh_host_key
31 # HostKeys for protocol version 2
32 #HostKey /etc/ssh/ssh_host_dsa_key
34 # Lifetime and size of ephemeral version 1 server key
35 #KeyRegenerationInterval 1h
36 #ServerKeyBits 768
38 # Logging
39 # obsoletes QuietMode and FascistLogging
40 #SyslogFacility AUTH
41 #LogLevel INFO
43 # Authentication:
45 #LoginGraceTime 2m
46 #PermitRootLogin no
47 #StrictModes yes
48 #MaxAuthTries 6
50 #RSAAuthentication yes
51 #PubkeyAuthentication yes
52 #PermitBlacklistedKeys no
53 #AuthorizedKeysFile     .ssh/authorized_keys
55 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
56 #RhostsRSAAuthentication no
57 # similar for protocol version 2
58 #HostbasedAuthentication no
59 # Change to yes if you don't trust ~/.ssh/known_hosts for
60 # RhostsRSAAuthentication and HostbasedAuthentication
61 #IgnoreUserKnownHosts no
62 # Don't read the user's ~/.rhosts and ~/.shosts files
63 #IgnoreRhosts yes
65 # To disable tunneled clear text passwords, change to no here!
66 #PasswordAuthentication yes
67 #PermitEmptyPasswords no
69 # Change to no to disable OPIE and PAM authentication
70 #ChallengeResponseAuthentication yes
72 # Kerberos options
73 #KerberosAuthentication no
74 #KerberosOrLocalPasswd yes
75 #KerberosTicketCleanup yes
76 #KerberosGetAFSToken no
78 # GSSAPI options
79 #GSSAPIAuthentication no
80 #GSSAPICleanupCredentials yes
82 # Set this to 'yes' to enable PAM authentication, account processing, 
83 # and session processing. If this is enabled, PAM authentication will 
84 # be allowed through the ChallengeResponseAuthentication and
85 # PasswordAuthentication.  Depending on your PAM configuration,
86 # PAM authentication via ChallengeResponseAuthentication may bypass
87 # the setting of "PermitRootLogin without-password".
88 # If you just want the PAM account and session checks to run without
89 # PAM authentication, then enable this but set PasswordAuthentication
90 # and ChallengeResponseAuthentication to 'no'.
91 #UsePAM no
93 #AllowTcpForwarding yes
94 #GatewayPorts no
95 #X11Forwarding yes
96 #X11DisplayOffset 10
97 #X11UseLocalhost yes
98 #PrintMotd yes
99 #PrintLastLog yes
100 #TCPKeepAlive yes
101 #UseLogin no
102 #UsePrivilegeSeparation yes
103 #PermitUserEnvironment no
104 #Compression delayed
105 #ClientAliveInterval 0
106 #ClientAliveCountMax 3
107 #UseDNS yes
108 #PidFile /var/run/sshd.pid
109 #MaxStartups 10
110 #PermitTunnel no
111 #ChrootDirectory none
113 #XAuthLocation /usr/pkg/bin/xauth
115 # no default banner path
116 #Banner none
118 # override default of no subsystems
119 Subsystem       sftp    /usr/libexec/sftp-server
121 # Example of overriding settings on a per-user basis
122 #Match User anoncvs
123 #       X11Forwarding no
124 #       AllowTcpForwarding no
125 #       ForceCommand cvs server