]>
Commit | Line | Data |
---|---|---|
7bbcc167 | 1 | # $OpenBSD: sshd_config,v 1.32 2001/02/06 22:07:50 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 |
fa08c86b | 11 | HostKey /etc/ssh_host_dsa_key |
adc83ebf | 12 | #HostKey /etc/ssh_host_rsa_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 | |
5f4fdfae | 44 | # Uncomment to disable s/key passwords |
7bbcc167 | 45 | #ChallengeResponseAuthentication no |
8efc0c15 | 46 | |
5f4fdfae | 47 | # To change Kerberos options |
8efc0c15 | 48 | #KerberosAuthentication no |
49 | #KerberosOrLocalPasswd yes | |
50 | #AFSTokenPassing no | |
51 | #KerberosTicketCleanup no | |
5f4fdfae | 52 | |
8efc0c15 | 53 | # Kerberos TGT Passing does only work with the AFS kaserver |
54 | #KerberosTgtPassing yes | |
5f4fdfae | 55 | |
adc83ebf | 56 | #CheckMail yes |
10fa00c8 | 57 | #UseLogin no |
38c295d6 | 58 | |
c345cf9d | 59 | #MaxStartups 10:30:60 |
eea39c02 | 60 | #Banner /etc/issue.net |
61e96248 | 61 | #ReverseMappingCheck yes |
7bbcc167 | 62 | |
63 | Subsystem sftp /usr/libexec/sftp-server |