]>
Commit | Line | Data |
---|---|---|
8efc0c15 | 1 | # This is ssh server systemwide configuration file. |
2 | ||
3 | Port 22 | |
d6f24e45 | 4 | #Protocol 2,1 |
8efc0c15 | 5 | ListenAddress 0.0.0.0 |
48e671d5 | 6 | #ListenAddress :: |
5f4fdfae | 7 | HostKey /etc/ssh_host_key |
8efc0c15 | 8 | ServerKeyBits 768 |
9 | LoginGraceTime 600 | |
10 | KeyRegenerationInterval 3600 | |
11 | PermitRootLogin yes | |
5f4fdfae | 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 | |
8efc0c15 | 17 | StrictModes yes |
b4748e2f | 18 | X11Forwarding no |
8efc0c15 | 19 | X11DisplayOffset 10 |
8efc0c15 | 20 | PrintMotd yes |
21 | KeepAlive yes | |
dd092f97 | 22 | |
5f4fdfae | 23 | # Logging |
8efc0c15 | 24 | SyslogFacility AUTH |
dd092f97 | 25 | LogLevel INFO |
5f4fdfae | 26 | #obsoletes QuietMode and FascistLogging |
272b7f60 | 27 | |
dd092f97 | 28 | RhostsAuthentication no |
b4748e2f | 29 | # |
5f4fdfae | 30 | # For this to work you will also need host keys in /etc/ssh_known_hosts |
31 | RhostsRSAAuthentication no | |
b4748e2f | 32 | # |
8efc0c15 | 33 | RSAAuthentication yes |
34 | ||
35 | # To disable tunneled clear text passwords, change to no here! | |
36 | PasswordAuthentication yes | |
37 | PermitEmptyPasswords no | |
5f4fdfae | 38 | # Uncomment to disable s/key passwords |
8efc0c15 | 39 | #SkeyAuthentication no |
40 | ||
5f4fdfae | 41 | # To change Kerberos options |
8efc0c15 | 42 | #KerberosAuthentication no |
43 | #KerberosOrLocalPasswd yes | |
44 | #AFSTokenPassing no | |
45 | #KerberosTicketCleanup no | |
5f4fdfae | 46 | |
8efc0c15 | 47 | # Kerberos TGT Passing does only work with the AFS kaserver |
48 | #KerberosTgtPassing yes | |
5f4fdfae | 49 | |
50 | CheckMail no | |
10fa00c8 | 51 | #UseLogin no |
38c295d6 | 52 | |
b5e300c2 | 53 | # Uncomment if you want to enable sftp |
54 | #Subsystem sftp /usr/libexec/sftp-server | |
c345cf9d | 55 | #MaxStartups 10:30:60 |