]>
Commit | Line | Data |
---|---|---|
582038fb | 1 | # $OpenBSD: sshd_config,v 1.34 2001/02/24 10:37:26 deraadt Exp $ |
23c2a7a5 | 2 | |
61e96248 | 3 | # This is the sshd server system-wide configuration file. See sshd(8) |
4 | # for more information. | |
8efc0c15 | 5 | |
6 | Port 22 | |
d6f24e45 | 7 | #Protocol 2,1 |
adc83ebf | 8 | #ListenAddress 0.0.0.0 |
48e671d5 | 9 | #ListenAddress :: |
5f4fdfae | 10 | HostKey /etc/ssh_host_key |
e2fccec3 | 11 | HostKey /etc/ssh_host_rsa_key |
582038fb | 12 | HostKey /etc/ssh_host_dsa_key |
8efc0c15 | 13 | ServerKeyBits 768 |
14 | LoginGraceTime 600 | |
15 | KeyRegenerationInterval 3600 | |
16 | PermitRootLogin yes | |
5f4fdfae | 17 | # |
18 | # Don't read ~/.rhosts and ~/.shosts files | |
19 | IgnoreRhosts yes | |
20 | # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication | |
21 | #IgnoreUserKnownHosts yes | |
8efc0c15 | 22 | StrictModes yes |
b4748e2f | 23 | X11Forwarding no |
8efc0c15 | 24 | X11DisplayOffset 10 |
8efc0c15 | 25 | PrintMotd yes |
26 | KeepAlive yes | |
dd092f97 | 27 | |
5f4fdfae | 28 | # Logging |
adc83ebf | 29 | SyslogFacility AUTH |
dd092f97 | 30 | LogLevel INFO |
5f4fdfae | 31 | #obsoletes QuietMode and FascistLogging |
272b7f60 | 32 | |
dd092f97 | 33 | RhostsAuthentication no |
b4748e2f | 34 | # |
5f4fdfae | 35 | # For this to work you will also need host keys in /etc/ssh_known_hosts |
36 | RhostsRSAAuthentication no | |
b4748e2f | 37 | # |
8efc0c15 | 38 | RSAAuthentication yes |
39 | ||
40 | # To disable tunneled clear text passwords, change to no here! | |
41 | PasswordAuthentication yes | |
42 | PermitEmptyPasswords no | |
61e96248 | 43 | |
78c8106e | 44 | # Comment to enable s/key passwords or PAM interactive authentication |
a4618c05 | 45 | # NB. Neither of these are compiled in by default. Please read the |
46 | # notes in the sshd(8) manpage before enabling this on a PAM system. | |
78c8106e | 47 | ChallengeResponseAuthentication no |
8efc0c15 | 48 | |
5f4fdfae | 49 | # To change Kerberos options |
8efc0c15 | 50 | #KerberosAuthentication no |
51 | #KerberosOrLocalPasswd yes | |
52 | #AFSTokenPassing no | |
53 | #KerberosTicketCleanup no | |
5f4fdfae | 54 | |
8efc0c15 | 55 | # Kerberos TGT Passing does only work with the AFS kaserver |
56 | #KerberosTgtPassing yes | |
5f4fdfae | 57 | |
adc83ebf | 58 | #CheckMail yes |
10fa00c8 | 59 | #UseLogin no |
38c295d6 | 60 | |
c345cf9d | 61 | #MaxStartups 10:30:60 |
eea39c02 | 62 | #Banner /etc/issue.net |
61e96248 | 63 | #ReverseMappingCheck yes |
7bbcc167 | 64 | |
65 | Subsystem sftp /usr/libexec/sftp-server |