savara - customs - etc
[anomen-kernel-config.git] / savara / customs / etc / ssh / sshd_config
blob997afd4b7a296e17900167d5e655b66067492dcf
1 #       $OpenBSD$
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 change a
11 # default value.
13 Port 10022
14 #Port 22
15 #AddressFamily any
16 #ListenAddress 0.0.0.0
17 #ListenAddress ::
19 # The default requires explicit activation of protocol 1
20 #Protocol 2
22 # HostKey for protocol version 1
23 #HostKey /etc/ssh/ssh_host_key
24 # HostKeys for protocol version 2
25 #HostKey /etc/ssh/ssh_host_rsa_key
26 #HostKey /etc/ssh/ssh_host_dsa_key
27 #HostKey /etc/ssh/ssh_host_ecdsa_key
29 # "key type names" for X.509 certificates with RSA key
30 # Note first defined is used in signature operations!
31 #X509KeyAlgorithm x509v3-sign-rsa,rsa-md5
32 #X509KeyAlgorithm x509v3-sign-rsa,rsa-sha1
34 # "key type names" for X.509 certificates with DSA key
35 # Note first defined is used in signature operations!
36 #X509KeyAlgorithm x509v3-sign-dss,dss-asn1
37 #X509KeyAlgorithm x509v3-sign-dss,dss-raw
39 # The intended use for the X509 client certificate. Without this option
40 # no chain verification will be done. Currently accepted uses are case
41 # insensitive:
42 #  - "sslclient", "SSL client", "SSL_client" or "client"
43 #  - "any", "Any Purpose", "Any_Purpose" or "AnyPurpose"
44 #  - "skip" or ""(empty): don`t check purpose.
45 #AllowedCertPurpose sslclient
47 # Specifies whether self-issued(self-signed) X.509 certificate can be
48 # allowed only by entry in AutorizedKeysFile that contain matching
49 # public key or certificate blob.
50 #KeyAllowSelfIssued no
52 # Specifies whether CRL must present in store for all certificates in
53 # certificate chain with atribute "cRLDistributionPoints"
54 #MandatoryCRL no
56 # A file with multiple certificates of certificate signers
57 # in PEM format concatenated together.
58 #CACertificateFile /etc/ssh/ca/ca-bundle.crt
60 # A directory with certificates of certificate signers.
61 # The certificates should have name of the form: [HASH].[NUMBER]
62 # or have symbolic links to them of this form.
63 #CACertificatePath /etc/ssh/ca/crt
65 # A file with multiple CRL of certificate signers
66 # in PEM format concatenated together.
67 #CARevocationFile /etc/ssh/ca/ca-bundle.crl
69 # A directory with CRL of certificate signers. 
70 # The CRL should have name of the form: [HASH].r[NUMBER]
71 # or have symbolic links to them of this form.
72 #CARevocationPath /etc/ssh/ca/crl
74 # LDAP protocol version.
75 # Example:
76 # CAldapVersion 2
78 # Note because of OpenSSH options parser limitation
79 # use %3D instead of = !
80 # LDAP initialization may require URL to be escaped, i.e.
81 # use %2C instead of ,(comma). Escaped URL don't depend from
82 # LDAP initialization method.
83 # Example:
84 # CAldapURL ldap://localhost:389/dc%3Dexample%2Cdc%3Dcom
86 # SSH can use "Online Certificate Status Protocol"(OCSP)
87 # to validate certificate. Set VAType to
88 #  - none    : do not use OCSP to validate certificates;
89 #  - ocspcert: validate only certificates that specify `OCSP
90 #      Service Locator' URL;
91 #  - ocspspec: use specified in the configuration 'OCSP Responder'
92 #      to validate all certificates.
93 #VAType none
95 # Lifetime and size of ephemeral version 1 server key
96 #KeyRegenerationInterval 1h
97 #ServerKeyBits 1024
99 # Logging
100 # obsoletes QuietMode and FascistLogging
101 SyslogFacility AUTH
102 LogLevel INFO
104 # Authentication:
106 #LoginGraceTime 2m
107 PermitRootLogin no
108 #StrictModes yes
109 #MaxAuthTries 6
110 #MaxSessions 10
112 #RSAAuthentication yes
113 #PubkeyAuthentication yes
114 #AuthorizedKeysFile     .ssh/authorized_keys
116 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
117 #RhostsRSAAuthentication no
118 # similar for protocol version 2
119 #HostbasedAuthentication no
120 # Change to yes if you don't trust ~/.ssh/known_hosts for
121 # RhostsRSAAuthentication and HostbasedAuthentication
122 #IgnoreUserKnownHosts no
123 # Don't read the user's ~/.rhosts and ~/.shosts files
124 #IgnoreRhosts yes
126 # To disable tunneled clear text passwords, change to no here!
127 PasswordAuthentication no
128 #PermitEmptyPasswords no
130 # Change to no to disable s/key passwords
131 #ChallengeResponseAuthentication yes
133 # Kerberos options
134 #KerberosAuthentication no
135 #KerberosOrLocalPasswd yes
136 #KerberosTicketCleanup yes
137 #KerberosGetAFSToken no
139 # GSSAPI options
140 #GSSAPIAuthentication no
141 #GSSAPICleanupCredentials yes
143 # Set this to 'yes' to enable PAM authentication, account processing, 
144 # and session processing. If this is enabled, PAM authentication will 
145 # be allowed through the ChallengeResponseAuthentication and
146 # PasswordAuthentication.  Depending on your PAM configuration,
147 # PAM authentication via ChallengeResponseAuthentication may bypass
148 # the setting of "PermitRootLogin without-password".
149 # If you just want the PAM account and session checks to run without
150 # PAM authentication, then enable this but set PasswordAuthentication
151 # and ChallengeResponseAuthentication to 'no'.
152 UsePAM yes
154 #AllowAgentForwarding yes
155 AllowTcpForwarding yes
156 GatewayPorts yes
157 #X11Forwarding no
158 #X11DisplayOffset 10
159 #X11UseLocalhost yes
160 TCPKeepAlive yes
161 PrintMotd no
162 PrintLastLog no
163 #TCPKeepAlive yes
164 #UseLogin no
165 #UsePrivilegeSeparation yes
166 #PermitUserEnvironment no
167 #Compression delayed
168 #ClientAliveInterval 0
169 #ClientAliveCountMax 3
170 #UseDNS yes
171 #PidFile /var/run/sshd.pid
172 #MaxStartups 10
173 #PermitTunnel no
174 #ChrootDirectory none
176 # no default banner path
177 #Banner none
179 # override default of no subsystems
180 Subsystem       sftp    /usr/lib64/misc/sftp-server
182 # the following are HPN related configuration options
183 # tcp receive buffer polling. disable in non autotuning kernels
184 #TcpRcvBufPoll yes
186 # allow the use of the none cipher
187 #NoneEnabled no
189 # disable hpn performance boosts. 
190 #HPNDisabled no
192 # buffer size for hpn to non-hpn connections
193 #HPNBufferSize 2048
196 # Example of overriding settings on a per-user basis
197 #Match User anoncvs
198 #       X11Forwarding no
199 #       AllowTcpForwarding no
200 #       ForceCommand cvs server