Build Subversion 1.4.6 + Perl + OpenSSL 1.0
[msysgit.git] / etc / ssh / sshd_config
blobce00287375a1d3e570f810fa3094b6d406812343
1 #       $OpenBSD: sshd_config,v 1.93 2014/01/10 05:59:19 djm Exp $
3 # This is the sshd server system-wide configuration file.  See
4 # sshd_config(5) for more information.
6 # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
8 # The strategy used for options in the default sshd_config shipped with
9 # OpenSSH is to specify options with their default value where
10 # possible, but leave them commented.  Uncommented options override the
11 # default value.
13 #Port 22
14 #AddressFamily any
15 #ListenAddress 0.0.0.0
16 #ListenAddress ::
18 # The default requires explicit activation of protocol 1
19 #Protocol 2
21 # HostKey for protocol version 1
22 #HostKey /etc/ssh/ssh_host_key
23 # HostKeys for protocol version 2
24 #HostKey /etc/ssh/ssh_host_rsa_key
25 #HostKey /etc/ssh/ssh_host_dsa_key
26 #HostKey /etc/ssh/ssh_host_ecdsa_key
27 #HostKey /etc/ssh/ssh_host_ed25519_key
29 # Lifetime and size of ephemeral version 1 server key
30 #KeyRegenerationInterval 1h
31 #ServerKeyBits 1024
33 # Ciphers and keying
34 #RekeyLimit default none
36 # Logging
37 # obsoletes QuietMode and FascistLogging
38 #SyslogFacility AUTH
39 #LogLevel INFO
41 # Authentication:
43 #LoginGraceTime 2m
44 #PermitRootLogin yes
45 #StrictModes yes
46 #MaxAuthTries 6
47 #MaxSessions 10
49 #RSAAuthentication yes
50 #PubkeyAuthentication yes
52 # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
53 # but this is overridden so installations will only check .ssh/authorized_keys
54 AuthorizedKeysFile      .ssh/authorized_keys
56 #AuthorizedPrincipalsFile none
58 #AuthorizedKeysCommand none
59 #AuthorizedKeysCommandUser nobody
61 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
62 #RhostsRSAAuthentication no
63 # similar for protocol version 2
64 #HostbasedAuthentication no
65 # Change to yes if you don't trust ~/.ssh/known_hosts for
66 # RhostsRSAAuthentication and HostbasedAuthentication
67 #IgnoreUserKnownHosts no
68 # Don't read the user's ~/.rhosts and ~/.shosts files
69 #IgnoreRhosts yes
71 # To disable tunneled clear text passwords, change to no here!
72 #PasswordAuthentication yes
73 #PermitEmptyPasswords no
75 # Change to no to disable s/key passwords
76 #ChallengeResponseAuthentication yes
78 # Kerberos options
79 #KerberosAuthentication no
80 #KerberosOrLocalPasswd yes
81 #KerberosTicketCleanup yes
82 #KerberosGetAFSToken no
84 # GSSAPI options
85 #GSSAPIAuthentication no
86 #GSSAPICleanupCredentials yes
88 # Set this to 'yes' to enable PAM authentication, account processing,
89 # and session processing. If this is enabled, PAM authentication will
90 # be allowed through the ChallengeResponseAuthentication and
91 # PasswordAuthentication.  Depending on your PAM configuration,
92 # PAM authentication via ChallengeResponseAuthentication may bypass
93 # the setting of "PermitRootLogin without-password".
94 # If you just want the PAM account and session checks to run without
95 # PAM authentication, then enable this but set PasswordAuthentication
96 # and ChallengeResponseAuthentication to 'no'.
97 #UsePAM no
99 #AllowAgentForwarding yes
100 #AllowTcpForwarding yes
101 #GatewayPorts no
102 #X11Forwarding no
103 #X11DisplayOffset 10
104 #X11UseLocalhost yes
105 #PermitTTY yes
106 #PrintMotd yes
107 #PrintLastLog yes
108 #TCPKeepAlive yes
109 #UseLogin no
110 UsePrivilegeSeparation sandbox          # Default for new installations.
111 #PermitUserEnvironment no
112 #Compression delayed
113 #ClientAliveInterval 0
114 #ClientAliveCountMax 3
115 #UseDNS yes
116 #PidFile /etc/ssh/sshd.pid
117 #MaxStartups 10:30:100
118 #PermitTunnel no
119 #ChrootDirectory none
120 #VersionAddendum none
122 # no default banner path
123 #Banner none
125 # override default of no subsystems
126 Subsystem       sftp    /libexec/sftp-server
128 # Example of overriding settings on a per-user basis
129 #Match User anoncvs
130 #       X11Forwarding no
131 #       AllowTcpForwarding no
132 #       PermitTTY no
133 #       ForceCommand cvs server