blob: ee6af5f8bdb3a650e1296dd8ed34d2761c56ca84 [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 Millera37010e1999-10-29 09:18:29 +10005HostKey /etc/ssh/ssh_host_key
Damien Millerd4a8b7e1999-10-27 13:42:43 +10006ServerKeyBits 768
7LoginGraceTime 600
8KeyRegenerationInterval 3600
9PermitRootLogin yes
Damien Millerd4a8b7e1999-10-27 13:42:43 +100010StrictModes yes
Damien Miller32265091999-11-12 11:33:04 +110011X11Forwarding no
Damien Millerd4a8b7e1999-10-27 13:42:43 +100012X11DisplayOffset 10
Damien Millerd4a8b7e1999-10-27 13:42:43 +100013PrintMotd yes
14KeepAlive yes
Damien Miller9ba30241999-11-11 21:07:00 +110015CheckMail no
16UseLogin no
Damien Miller192bd011999-11-13 23:56:35 +110017
18#
19# Loglevel replaces QuietMode and FascistLogging
20#
Damien Millerd4a8b7e1999-10-27 13:42:43 +100021SyslogFacility AUTH
Damien Miller192bd011999-11-13 23:56:35 +110022LogLevel INFO
Damien Miller9ba30241999-11-11 21:07:00 +110023
Damien Millerd4a8b7e1999-10-27 13:42:43 +100024#
Damien Millera37010e1999-10-29 09:18:29 +100025# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
Damien Millerd4a8b7e1999-10-27 13:42:43 +100026#
Damien Miller9ba30241999-11-11 21:07:00 +110027RhostsRSAAuthentication no
28
Damien Miller32265091999-11-12 11:33:04 +110029#
30# Don't read ~/.rhosts and ~/.shosts files
31#
32IgnoreRhosts yes
Damien Miller192bd011999-11-13 23:56:35 +110033RhostsAuthentication no
Damien Miller32265091999-11-12 11:33:04 +110034
35#
36# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
37#
38#IgnoreUserKnownHosts yes
39
Damien Millerd4a8b7e1999-10-27 13:42:43 +100040RSAAuthentication yes
41
42# To disable tunneled clear text passwords, change to no here!
43PasswordAuthentication yes
44PermitEmptyPasswords no
Damien Miller9ba30241999-11-11 21:07:00 +110045
46#
47# Uncomment to disable s/key passwords (must be compiled with s/key support)
48#
Damien Millerd4a8b7e1999-10-27 13:42:43 +100049#SkeyAuthentication no
50
Damien Miller9ba30241999-11-11 21:07:00 +110051#
52# To change Kerberos options (must be compiled with Kerberos support)
53#
Damien Millerd4a8b7e1999-10-27 13:42:43 +100054#KerberosAuthentication no
55#KerberosOrLocalPasswd yes
56#AFSTokenPassing no
57#KerberosTicketCleanup no
Damien Millerd4a8b7e1999-10-27 13:42:43 +100058# Kerberos TGT Passing does only work with the AFS kaserver
59#KerberosTgtPassing yes