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