]>
Commit | Line | Data |
---|---|---|
ac10636f | 1 | # $OpenBSD: sshd_config,v 1.44 2002/01/16 17:40:23 stevesk Exp $ |
b2d818e6 | 2 | |
61e96248 | 3 | # This is the sshd server system-wide configuration file. See sshd(8) |
4 | # for more information. | |
8efc0c15 | 5 | |
ac10636f | 6 | # The stategy used for options in the default sshd_config shipped with |
7 | # OpenSSH is to specify options with their default value where | |
8 | # possible, but leave them commented. Uncommented options change a | |
9 | # default value. | |
10 | ||
11 | #Port 22 | |
d6f24e45 | 12 | #Protocol 2,1 |
adc83ebf | 13 | #ListenAddress 0.0.0.0 |
48e671d5 | 14 | #ListenAddress :: |
a98da4aa | 15 | |
16 | # HostKey for protocol version 1 | |
ac10636f | 17 | #HostKey /etc/ssh_host_key |
a98da4aa | 18 | # HostKeys for protocol version 2 |
ac10636f | 19 | #HostKey /etc/ssh_host_rsa_key |
20 | #HostKey /etc/ssh_host_dsa_key | |
a98da4aa | 21 | |
22 | # Lifetime and size of ephemeral version 1 server key | |
ac10636f | 23 | #KeyRegenerationInterval 3600 |
24 | #ServerKeyBits 768 | |
dd092f97 | 25 | |
5f4fdfae | 26 | # Logging |
5f4fdfae | 27 | #obsoletes QuietMode and FascistLogging |
ac10636f | 28 | #SyslogFacility AUTH |
29 | #LogLevel INFO | |
272b7f60 | 30 | |
a98da4aa | 31 | # Authentication: |
32 | ||
ac10636f | 33 | #LoginGraceTime 600 |
34 | #PermitRootLogin yes | |
35 | #StrictModes yes | |
a98da4aa | 36 | |
ac10636f | 37 | #RSAAuthentication yes |
38 | #PubkeyAuthentication yes | |
39 | #AuthorizedKeysFile .ssh/authorized_keys | |
a98da4aa | 40 | |
41 | # rhosts authentication should not be used | |
ac10636f | 42 | #RhostsAuthentication no |
a98da4aa | 43 | # Don't read the user's ~/.rhosts and ~/.shosts files |
ac10636f | 44 | #IgnoreRhosts yes |
5f4fdfae | 45 | # For this to work you will also need host keys in /etc/ssh_known_hosts |
ac10636f | 46 | #RhostsRSAAuthentication no |
8002af61 | 47 | # similar for protocol version 2 |
ac10636f | 48 | #HostbasedAuthentication no |
49 | # Change to yes if you don't trust ~/.ssh/known_hosts for | |
50 | # RhostsRSAAuthentication and HostbasedAuthentication | |
51 | #IgnoreUserKnownHosts no | |
8efc0c15 | 52 | |
53 | # To disable tunneled clear text passwords, change to no here! | |
ac10636f | 54 | #PasswordAuthentication yes |
55 | #PermitEmptyPasswords no | |
10f72868 | 56 | |
ac10636f | 57 | # Change to no to disable s/key passwords |
58 | #ChallengeResponseAuthentication yes | |
8efc0c15 | 59 | |
ac10636f | 60 | # Kerberos options |
61 | # KerberosAuthentication automatically enabled if keyfile exists | |
62 | #KerberosAuthentication yes | |
8efc0c15 | 63 | #KerberosOrLocalPasswd yes |
ac10636f | 64 | #KerberosTicketCleanup yes |
5f4fdfae | 65 | |
ac10636f | 66 | # AFSTokenPassing automatically enabled if k_hasafs() is true |
67 | #AFSTokenPassing yes | |
68 | ||
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' | |
74 | #PAMAuthenticationViaKbdInt yes | |
5f4fdfae | 75 | |
ac10636f | 76 | #X11Forwarding no |
77 | #X11DisplayOffset 10 | |
78 | #PrintMotd yes | |
79 | #PrintLastLog yes | |
80 | #KeepAlive yes | |
10fa00c8 | 81 | #UseLogin no |
38c295d6 | 82 | |
ac10636f | 83 | #MaxStartups 10 |
84 | # no default banner path | |
85 | #Banner /some/path | |
86 | #ReverseMappingCheck no | |
7bbcc167 | 87 | |
ac10636f | 88 | # override default of no subsystems |
7bbcc167 | 89 | Subsystem sftp /usr/libexec/sftp-server |