blob: 3b88062fa3de9fb247271add62cd1e8bc2c4881a [file] [log] [blame]
Damien Millerd4a8b7e1999-10-27 13:42:43 +10001# This is ssh server systemwide configuration file.
2
3Port 22
Damien Miller8bb73be2000-04-19 16:26:12 +10004#Protocol 2,1
Damien Millerd4a8b7e1999-10-27 13:42:43 +10005ListenAddress 0.0.0.0
Damien Miller34132e52000-01-14 15:45:46 +11006#ListenAddress ::
Damien Miller886c63a2000-01-20 23:13:36 +11007HostKey /etc/ssh_host_key
Damien Millerd4a8b7e1999-10-27 13:42:43 +10008ServerKeyBits 768
9LoginGraceTime 600
10KeyRegenerationInterval 3600
11PermitRootLogin yes
Damien Miller886c63a2000-01-20 23:13:36 +110012#
13# Don't read ~/.rhosts and ~/.shosts files
14IgnoreRhosts yes
15# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
16#IgnoreUserKnownHosts yes
Damien Millerd4a8b7e1999-10-27 13:42:43 +100017StrictModes yes
Damien Miller32265091999-11-12 11:33:04 +110018X11Forwarding no
Damien Millerd4a8b7e1999-10-27 13:42:43 +100019X11DisplayOffset 10
Damien Millerd4a8b7e1999-10-27 13:42:43 +100020PrintMotd yes
21KeepAlive yes
Damien Miller192bd011999-11-13 23:56:35 +110022
Damien Miller886c63a2000-01-20 23:13:36 +110023# Logging
Damien Millerd4a8b7e1999-10-27 13:42:43 +100024SyslogFacility AUTH
Damien Miller192bd011999-11-13 23:56:35 +110025LogLevel INFO
Damien Miller886c63a2000-01-20 23:13:36 +110026#obsoletes QuietMode and FascistLogging
Damien Miller9ba30241999-11-11 21:07:00 +110027
Damien Miller192bd011999-11-13 23:56:35 +110028RhostsAuthentication no
Damien Miller32265091999-11-12 11:33:04 +110029#
Damien Miller886c63a2000-01-20 23:13:36 +110030# For this to work you will also need host keys in /etc/ssh_known_hosts
31RhostsRSAAuthentication no
Damien Miller32265091999-11-12 11:33:04 +110032#
Damien Millerd4a8b7e1999-10-27 13:42:43 +100033RSAAuthentication yes
34
35# To disable tunneled clear text passwords, change to no here!
36PasswordAuthentication yes
37PermitEmptyPasswords no
Damien Miller886c63a2000-01-20 23:13:36 +110038# Uncomment to disable s/key passwords
Damien Millerd4a8b7e1999-10-27 13:42:43 +100039#SkeyAuthentication no
Damien Miller874d77b2000-10-14 16:23:11 +110040#KbdInteractiveAuthentication yes
Damien Millerd4a8b7e1999-10-27 13:42:43 +100041
Damien Miller886c63a2000-01-20 23:13:36 +110042# To change Kerberos options
Damien Millerd4a8b7e1999-10-27 13:42:43 +100043#KerberosAuthentication no
44#KerberosOrLocalPasswd yes
45#AFSTokenPassing no
46#KerberosTicketCleanup no
Damien Miller886c63a2000-01-20 23:13:36 +110047
Damien Millerd4a8b7e1999-10-27 13:42:43 +100048# Kerberos TGT Passing does only work with the AFS kaserver
49#KerberosTgtPassing yes
Damien Miller886c63a2000-01-20 23:13:36 +110050
51CheckMail no
Damien Millerc30d35c2000-08-30 09:40:09 +110052#UseLogin no
Damien Millerf6d9e222000-06-18 14:50:44 +100053
Damien Miller7b28dc52000-09-05 13:34:53 +110054# Uncomment if you want to enable sftp
55#Subsystem sftp /usr/libexec/sftp-server
Damien Miller942da032000-08-18 13:59:06 +100056#MaxStartups 10:30:60