blob: 614cf706b33295bd3401af8894f5a412b7afd296 [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 Miller886c63a2000-01-20 23:13:36 +11006HostKey /etc/ssh_host_key
Damien Millerd4a8b7e1999-10-27 13:42:43 +10007ServerKeyBits 768
8LoginGraceTime 600
9KeyRegenerationInterval 3600
10PermitRootLogin yes
Damien Miller886c63a2000-01-20 23:13:36 +110011#
12# Don't read ~/.rhosts and ~/.shosts files
13IgnoreRhosts yes
14# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
15#IgnoreUserKnownHosts yes
Damien Millerd4a8b7e1999-10-27 13:42:43 +100016StrictModes yes
Damien Miller32265091999-11-12 11:33:04 +110017X11Forwarding no
Damien Millerd4a8b7e1999-10-27 13:42:43 +100018X11DisplayOffset 10
Damien Millerd4a8b7e1999-10-27 13:42:43 +100019PrintMotd yes
20KeepAlive yes
Damien Miller192bd011999-11-13 23:56:35 +110021
Damien Miller886c63a2000-01-20 23:13:36 +110022# Logging
Damien Millerd4a8b7e1999-10-27 13:42:43 +100023SyslogFacility AUTH
Damien Miller192bd011999-11-13 23:56:35 +110024LogLevel INFO
Damien Miller886c63a2000-01-20 23:13:36 +110025#obsoletes QuietMode and FascistLogging
Damien Miller9ba30241999-11-11 21:07:00 +110026
Damien Miller192bd011999-11-13 23:56:35 +110027RhostsAuthentication no
Damien Miller32265091999-11-12 11:33:04 +110028#
Damien Miller886c63a2000-01-20 23:13:36 +110029# For this to work you will also need host keys in /etc/ssh_known_hosts
30RhostsRSAAuthentication no
Damien Miller32265091999-11-12 11:33:04 +110031#
Damien Millerd4a8b7e1999-10-27 13:42:43 +100032RSAAuthentication yes
33
34# To disable tunneled clear text passwords, change to no here!
35PasswordAuthentication yes
36PermitEmptyPasswords no
Damien Miller886c63a2000-01-20 23:13:36 +110037# Uncomment to disable s/key passwords
Damien Millerd4a8b7e1999-10-27 13:42:43 +100038#SkeyAuthentication no
39
Damien Miller886c63a2000-01-20 23:13:36 +110040# To change Kerberos options
Damien Millerd4a8b7e1999-10-27 13:42:43 +100041#KerberosAuthentication no
42#KerberosOrLocalPasswd yes
43#AFSTokenPassing no
44#KerberosTicketCleanup no
Damien Miller886c63a2000-01-20 23:13:36 +110045
Damien Millerd4a8b7e1999-10-27 13:42:43 +100046# Kerberos TGT Passing does only work with the AFS kaserver
47#KerberosTgtPassing yes
Damien Miller886c63a2000-01-20 23:13:36 +110048
49CheckMail no
50UseLogin no