]>
Commit | Line | Data |
---|---|---|
41b2f314 | 1 | # $OpenBSD: sshd_config,v 1.59 2002/09/25 11:17:16 markus Exp $ |
3c0ef626 | 2 | |
f5799ae1 | 3 | # This is the sshd server system-wide configuration file. See |
4 | # sshd_config(5) for more information. | |
3c0ef626 | 5 | |
e9a17296 | 6 | # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin |
7 | ||
8 | # The strategy used for options in the default sshd_config shipped with | |
9 | # OpenSSH is to specify options with their default value where | |
10 | # possible, but leave them commented. Uncommented options change a | |
11 | # default value. | |
12 | ||
13 | #Port 22 | |
3c0ef626 | 14 | #Protocol 2,1 |
15 | #ListenAddress 0.0.0.0 | |
16 | #ListenAddress :: | |
17 | ||
18 | # HostKey for protocol version 1 | |
e9a17296 | 19 | #HostKey /etc/ssh/ssh_host_key |
3c0ef626 | 20 | # HostKeys for protocol version 2 |
e9a17296 | 21 | #HostKey /etc/ssh/ssh_host_rsa_key |
22 | #HostKey /etc/ssh/ssh_host_dsa_key | |
3c0ef626 | 23 | |
24 | # Lifetime and size of ephemeral version 1 server key | |
e9a17296 | 25 | #KeyRegenerationInterval 3600 |
26 | #ServerKeyBits 768 | |
3c0ef626 | 27 | |
28 | # Logging | |
3c0ef626 | 29 | #obsoletes QuietMode and FascistLogging |
e9a17296 | 30 | #SyslogFacility AUTH |
31 | #LogLevel INFO | |
3c0ef626 | 32 | |
33 | # Authentication: | |
34 | ||
41b2f314 | 35 | #LoginGraceTime 120 |
e9a17296 | 36 | #PermitRootLogin yes |
37 | #StrictModes yes | |
3c0ef626 | 38 | |
e9a17296 | 39 | #RSAAuthentication yes |
40 | #PubkeyAuthentication yes | |
41 | #AuthorizedKeysFile .ssh/authorized_keys | |
3c0ef626 | 42 | |
43 | # rhosts authentication should not be used | |
e9a17296 | 44 | #RhostsAuthentication no |
3c0ef626 | 45 | # Don't read the user's ~/.rhosts and ~/.shosts files |
e9a17296 | 46 | #IgnoreRhosts yes |
47 | # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts | |
48 | #RhostsRSAAuthentication no | |
3c0ef626 | 49 | # similar for protocol version 2 |
e9a17296 | 50 | #HostbasedAuthentication no |
51 | # Change to yes if you don't trust ~/.ssh/known_hosts for | |
52 | # RhostsRSAAuthentication and HostbasedAuthentication | |
53 | #IgnoreUserKnownHosts no | |
3c0ef626 | 54 | |
55 | # To disable tunneled clear text passwords, change to no here! | |
e9a17296 | 56 | #PasswordAuthentication yes |
57 | #PermitEmptyPasswords no | |
3c0ef626 | 58 | |
e9a17296 | 59 | # Change to no to disable s/key passwords |
60 | #ChallengeResponseAuthentication yes | |
3c0ef626 | 61 | |
e9a17296 | 62 | # Kerberos options |
700318f3 | 63 | #KerberosAuthentication no |
3c0ef626 | 64 | #KerberosOrLocalPasswd yes |
e9a17296 | 65 | #KerberosTicketCleanup yes |
66 | ||
700318f3 | 67 | #AFSTokenPassing no |
3c0ef626 | 68 | |
e9a17296 | 69 | # Kerberos TGT Passing only works with the AFS kaserver |
70 | #KerberosTgtPassing no | |
71 | ||
72 | # Set this to 'yes' to enable PAM keyboard-interactive authentication | |
73 | # Warning: enabling this may bypass the setting of 'PasswordAuthentication' | |
41b2f314 | 74 | #PAMAuthenticationViaKbdInt no |
3c0ef626 | 75 | |
e9a17296 | 76 | #X11Forwarding no |
77 | #X11DisplayOffset 10 | |
78 | #X11UseLocalhost yes | |
79 | #PrintMotd yes | |
80 | #PrintLastLog yes | |
81 | #KeepAlive yes | |
3c0ef626 | 82 | #UseLogin no |
f5799ae1 | 83 | #UsePrivilegeSeparation yes |
41b2f314 | 84 | #PermitUserEnvironment no |
f5799ae1 | 85 | #Compression yes |
3c0ef626 | 86 | |
e9a17296 | 87 | #MaxStartups 10 |
88 | # no default banner path | |
89 | #Banner /some/path | |
90 | #VerifyReverseMapping no | |
3c0ef626 | 91 | |
e9a17296 | 92 | # override default of no subsystems |
3c0ef626 | 93 | Subsystem sftp /usr/libexec/sftp-server |