Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 1 | # This is ssh server systemwide configuration file. |
| 2 | |
| 3 | Port 22 |
Damien Miller | 8bb73be | 2000-04-19 16:26:12 +1000 | [diff] [blame] | 4 | #Protocol 2,1 |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 5 | ListenAddress 0.0.0.0 |
Damien Miller | 34132e5 | 2000-01-14 15:45:46 +1100 | [diff] [blame] | 6 | #ListenAddress :: |
Damien Miller | 886c63a | 2000-01-20 23:13:36 +1100 | [diff] [blame] | 7 | HostKey /etc/ssh_host_key |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 8 | ServerKeyBits 768 |
| 9 | LoginGraceTime 600 |
| 10 | KeyRegenerationInterval 3600 |
| 11 | PermitRootLogin yes |
Damien Miller | 886c63a | 2000-01-20 23:13:36 +1100 | [diff] [blame] | 12 | # |
| 13 | # Don't read ~/.rhosts and ~/.shosts files |
| 14 | IgnoreRhosts yes |
| 15 | # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication |
| 16 | #IgnoreUserKnownHosts yes |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 17 | StrictModes yes |
Damien Miller | 3226509 | 1999-11-12 11:33:04 +1100 | [diff] [blame] | 18 | X11Forwarding no |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 19 | X11DisplayOffset 10 |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 20 | PrintMotd yes |
| 21 | KeepAlive yes |
Damien Miller | 192bd01 | 1999-11-13 23:56:35 +1100 | [diff] [blame] | 22 | |
Damien Miller | 886c63a | 2000-01-20 23:13:36 +1100 | [diff] [blame] | 23 | # Logging |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 24 | SyslogFacility AUTH |
Damien Miller | 192bd01 | 1999-11-13 23:56:35 +1100 | [diff] [blame] | 25 | LogLevel INFO |
Damien Miller | 886c63a | 2000-01-20 23:13:36 +1100 | [diff] [blame] | 26 | #obsoletes QuietMode and FascistLogging |
Damien Miller | 9ba3024 | 1999-11-11 21:07:00 +1100 | [diff] [blame] | 27 | |
Damien Miller | 192bd01 | 1999-11-13 23:56:35 +1100 | [diff] [blame] | 28 | RhostsAuthentication no |
Damien Miller | 3226509 | 1999-11-12 11:33:04 +1100 | [diff] [blame] | 29 | # |
Damien Miller | 886c63a | 2000-01-20 23:13:36 +1100 | [diff] [blame] | 30 | # For this to work you will also need host keys in /etc/ssh_known_hosts |
| 31 | RhostsRSAAuthentication no |
Damien Miller | 3226509 | 1999-11-12 11:33:04 +1100 | [diff] [blame] | 32 | # |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 33 | RSAAuthentication yes |
| 34 | |
| 35 | # To disable tunneled clear text passwords, change to no here! |
| 36 | PasswordAuthentication yes |
| 37 | PermitEmptyPasswords no |
Damien Miller | 886c63a | 2000-01-20 23:13:36 +1100 | [diff] [blame] | 38 | # Uncomment to disable s/key passwords |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 39 | #SkeyAuthentication no |
| 40 | |
Damien Miller | 886c63a | 2000-01-20 23:13:36 +1100 | [diff] [blame] | 41 | # To change Kerberos options |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 42 | #KerberosAuthentication no |
| 43 | #KerberosOrLocalPasswd yes |
| 44 | #AFSTokenPassing no |
| 45 | #KerberosTicketCleanup no |
Damien Miller | 886c63a | 2000-01-20 23:13:36 +1100 | [diff] [blame] | 46 | |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 47 | # Kerberos TGT Passing does only work with the AFS kaserver |
| 48 | #KerberosTgtPassing yes |
Damien Miller | 886c63a | 2000-01-20 23:13:36 +1100 | [diff] [blame] | 49 | |
| 50 | CheckMail no |
| 51 | UseLogin no |