blob: cb2c56e05a3ef2fc57560d2cf192115cac7701b5 [file] [log] [blame]
Damien Millerd4a8b7e1999-10-27 13:42:43 +10001# This is ssh server systemwide configuration file.
2
3Port 22
4ListenAddress 0.0.0.0
Damien Miller34132e52000-01-14 15:45:46 +11005#ListenAddress ::
Damien Millerc0d73901999-12-27 09:23:58 +11006HostKey @sysconfdir@/ssh_host_key
Damien Millerd4a8b7e1999-10-27 13:42:43 +10007ServerKeyBits 768
8LoginGraceTime 600
9KeyRegenerationInterval 3600
10PermitRootLogin yes
Damien Millerd4a8b7e1999-10-27 13:42:43 +100011StrictModes yes
Damien Miller32265091999-11-12 11:33:04 +110012X11Forwarding no
Damien Millerd4a8b7e1999-10-27 13:42:43 +100013X11DisplayOffset 10
Damien Millerd4a8b7e1999-10-27 13:42:43 +100014PrintMotd yes
15KeepAlive yes
Damien Miller9ba30241999-11-11 21:07:00 +110016CheckMail no
17UseLogin no
Damien Miller192bd011999-11-13 23:56:35 +110018
19#
20# Loglevel replaces QuietMode and FascistLogging
21#
Damien Millerd4a8b7e1999-10-27 13:42:43 +100022SyslogFacility AUTH
Damien Miller192bd011999-11-13 23:56:35 +110023LogLevel INFO
Damien Miller9ba30241999-11-11 21:07:00 +110024
Damien Millerd4a8b7e1999-10-27 13:42:43 +100025#
Damien Millera37010e1999-10-29 09:18:29 +100026# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
Damien Millerd4a8b7e1999-10-27 13:42:43 +100027#
Damien Miller9ba30241999-11-11 21:07:00 +110028RhostsRSAAuthentication no
29
Damien Miller32265091999-11-12 11:33:04 +110030#
31# Don't read ~/.rhosts and ~/.shosts files
32#
33IgnoreRhosts yes
Damien Miller192bd011999-11-13 23:56:35 +110034RhostsAuthentication no
Damien Miller32265091999-11-12 11:33:04 +110035
36#
37# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
38#
39#IgnoreUserKnownHosts yes
40
Damien Millerd4a8b7e1999-10-27 13:42:43 +100041RSAAuthentication yes
42
43# To disable tunneled clear text passwords, change to no here!
44PasswordAuthentication yes
45PermitEmptyPasswords no
Damien Miller9ba30241999-11-11 21:07:00 +110046
47#
48# Uncomment to disable s/key passwords (must be compiled with s/key support)
49#
Damien Millerd4a8b7e1999-10-27 13:42:43 +100050#SkeyAuthentication no
51
Damien Miller9ba30241999-11-11 21:07:00 +110052#
53# To change Kerberos options (must be compiled with Kerberos support)
54#
Damien Millerd4a8b7e1999-10-27 13:42:43 +100055#KerberosAuthentication no
56#KerberosOrLocalPasswd yes
57#AFSTokenPassing no
58#KerberosTicketCleanup no
Damien Millerd4a8b7e1999-10-27 13:42:43 +100059# Kerberos TGT Passing does only work with the AFS kaserver
60#KerberosTgtPassing yes