]>
Commit | Line | Data |
---|---|---|
582038fb | 1 | # $OpenBSD: sshd_config,v 1.34 2001/02/24 10:37:26 deraadt 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 |
28 | KeepAlive yes | |
dd092f97 | 29 | |
5f4fdfae | 30 | # Logging |
adc83ebf | 31 | SyslogFacility AUTH |
dd092f97 | 32 | LogLevel INFO |
5f4fdfae | 33 | #obsoletes QuietMode and FascistLogging |
272b7f60 | 34 | |
dd092f97 | 35 | RhostsAuthentication no |
b4748e2f | 36 | # |
5f4fdfae | 37 | # For this to work you will also need host keys in /etc/ssh_known_hosts |
38 | RhostsRSAAuthentication no | |
b4748e2f | 39 | # |
8efc0c15 | 40 | RSAAuthentication yes |
41 | ||
42 | # To disable tunneled clear text passwords, change to no here! | |
43 | PasswordAuthentication yes | |
44 | PermitEmptyPasswords no | |
61e96248 | 45 | |
78c8106e | 46 | # Comment to enable s/key passwords or PAM interactive authentication |
a4618c05 | 47 | # NB. Neither of these are compiled in by default. Please read the |
48 | # notes in the sshd(8) manpage before enabling this on a PAM system. | |
78c8106e | 49 | ChallengeResponseAuthentication no |
8efc0c15 | 50 | |
5f4fdfae | 51 | # To change Kerberos options |
8efc0c15 | 52 | #KerberosAuthentication no |
53 | #KerberosOrLocalPasswd yes | |
54 | #AFSTokenPassing no | |
55 | #KerberosTicketCleanup no | |
5f4fdfae | 56 | |
8efc0c15 | 57 | # Kerberos TGT Passing does only work with the AFS kaserver |
58 | #KerberosTgtPassing yes | |
5f4fdfae | 59 | |
adc83ebf | 60 | #CheckMail yes |
10fa00c8 | 61 | #UseLogin no |
38c295d6 | 62 | |
c345cf9d | 63 | #MaxStartups 10:30:60 |
eea39c02 | 64 | #Banner /etc/issue.net |
61e96248 | 65 | #ReverseMappingCheck yes |
7bbcc167 | 66 | |
67 | Subsystem sftp /usr/libexec/sftp-server |