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