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