]>
Commit | Line | Data |
---|---|---|
2d0c8d0c | 1 | # $OpenBSD: sshd_config,v 1.42 2001/09/20 20:57:51 mouring Exp $ |
2 | ||
3 | # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
4 | ||
5 | # This is the sshd server system-wide configuration file. See sshd(8) | |
6 | # for more information. | |
7 | ||
8 | Port 22 | |
9 | #Protocol 2,1 | |
10 | #ListenAddress 0.0.0.0 | |
11 | #ListenAddress :: | |
12 | ||
13 | # HostKey for protocol version 1 | |
14 | HostKey /etc/ssh_host_key | |
15 | # HostKeys for protocol version 2 | |
16 | HostKey /etc/ssh_host_rsa_key | |
17 | HostKey /etc/ssh_host_dsa_key | |
18 | ||
19 | # Lifetime and size of ephemeral version 1 server key | |
20 | KeyRegenerationInterval 3600 | |
21 | ServerKeyBits 768 | |
22 | ||
23 | # Logging | |
24 | SyslogFacility AUTH | |
25 | LogLevel INFO | |
26 | #obsoletes QuietMode and FascistLogging | |
27 | ||
28 | # Authentication: | |
29 | ||
30 | LoginGraceTime 600 | |
31 | PermitRootLogin yes | |
32 | StrictModes yes | |
33 | ||
34 | RSAAuthentication yes | |
35 | PubkeyAuthentication yes | |
36 | #AuthorizedKeysFile %h/.ssh/authorized_keys | |
37 | ||
38 | # rhosts authentication should not be used | |
39 | RhostsAuthentication no | |
40 | # Don't read the user's ~/.rhosts and ~/.shosts files | |
41 | IgnoreRhosts yes | |
42 | # For this to work you will also need host keys in /etc/ssh_known_hosts | |
43 | RhostsRSAAuthentication no | |
44 | # similar for protocol version 2 | |
45 | HostbasedAuthentication no | |
46 | # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication | |
47 | #IgnoreUserKnownHosts yes | |
48 | ||
49 | # To disable tunneled clear text passwords, change to no here! | |
50 | PasswordAuthentication yes | |
51 | PermitEmptyPasswords no | |
52 | ||
53 | # Uncomment to disable s/key passwords | |
54 | #ChallengeResponseAuthentication no | |
55 | ||
56 | # Uncomment to enable PAM keyboard-interactive authentication | |
57 | # Warning: enabling this may bypass the setting of 'PasswordAuthentication' | |
58 | #PAMAuthenticationViaKbdInt yes | |
59 | ||
60 | # To change Kerberos options | |
61 | #KerberosAuthentication no | |
62 | #KerberosOrLocalPasswd yes | |
63 | #AFSTokenPassing no | |
64 | #KerberosTicketCleanup no | |
65 | ||
66 | # Kerberos TGT Passing does only work with the AFS kaserver | |
67 | #KerberosTgtPassing yes | |
68 | ||
69 | X11Forwarding no | |
70 | X11DisplayOffset 10 | |
71 | PrintMotd yes | |
72 | #PrintLastLog no | |
73 | KeepAlive yes | |
74 | #UseLogin no | |
75 | ||
76 | #MaxStartups 10:30:60 | |
77 | #Banner /etc/issue.net | |
78 | #ReverseMappingCheck yes | |
79 | ||
80 | Subsystem sftp /usr/libexec/sftp-server |