Annotation of src/crypto/dist/ssh/sshd_config, Revision 1.1.1.17
1.1.1.4 itojun 1: # $NetBSD$
1.1.1.17! christos 2: # $OpenBSD: sshd_config,v 1.77 2008/02/08 23:24:07 djm Exp $
1.1 itojun 3:
1.1.1.10 itojun 4: # This is the sshd server system-wide configuration file. See
5: # sshd_config(5) for more information.
1.1 itojun 6:
1.1.1.7 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.1.13 christos 13: #AddressFamily any
1.1 itojun 14: #ListenAddress 0.0.0.0
15: #ListenAddress ::
1.1.1.5 itojun 16:
1.1.1.16 christos 17: # Disable legacy (protocol version 1) support in the server for new
18: # installations. In future the default will change to require explicit
19: # activation of protocol 1
20: Protocol 2
21:
1.1.1.5 itojun 22: # HostKey for protocol version 1
1.1.1.7 itojun 23: #HostKey /etc/ssh/ssh_host_key
1.1.1.5 itojun 24: # HostKeys for protocol version 2
1.1.1.7 itojun 25: #HostKey /etc/ssh/ssh_host_rsa_key
26: #HostKey /etc/ssh/ssh_host_dsa_key
1.1.1.5 itojun 27:
28: # Lifetime and size of ephemeral version 1 server key
1.1.1.12 christos 29: #KeyRegenerationInterval 1h
1.1.1.7 itojun 30: #ServerKeyBits 768
1.1 itojun 31:
32: # Logging
1.1.1.14 christos 33: # obsoletes QuietMode and FascistLogging
1.1.1.7 itojun 34: #SyslogFacility AUTH
35: #LogLevel INFO
1.1 itojun 36:
1.1.1.5 itojun 37: # Authentication:
38:
1.1.1.12 christos 39: #LoginGraceTime 2m
1.1.1.7 itojun 40: #PermitRootLogin yes
41: #StrictModes yes
1.1.1.12 christos 42: #MaxAuthTries 6
1.1.1.7 itojun 43:
44: #RSAAuthentication yes
45: #PubkeyAuthentication yes
46: #AuthorizedKeysFile .ssh/authorized_keys
1.1.1.5 itojun 47:
1.1.1.7 itojun 48: # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
49: #RhostsRSAAuthentication no
1.1.1.4 itojun 50: # similar for protocol version 2
1.1.1.7 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.1.12 christos 55: # Don't read the user's ~/.rhosts and ~/.shosts files
56: #IgnoreRhosts yes
1.1 itojun 57:
58: # To disable tunneled clear text passwords, change to no here!
1.1.1.7 itojun 59: #PasswordAuthentication yes
60: #PermitEmptyPasswords no
1.1 itojun 61:
1.1.1.7 itojun 62: # Change to no to disable s/key passwords
63: #ChallengeResponseAuthentication yes
1.1 itojun 64:
1.1.1.7 itojun 65: # Kerberos options
1.1.1.9 itojun 66: #KerberosAuthentication no
1.1 itojun 67: #KerberosOrLocalPasswd yes
1.1.1.7 itojun 68: #KerberosTicketCleanup yes
1.1.1.12 christos 69: #KerberosGetAFSToken no
1.1.1.7 itojun 70:
1.1.1.12 christos 71: # GSSAPI options
72: #GSSAPIAuthentication no
73: #GSSAPICleanupCredentials yes
1.1 itojun 74:
1.1.1.12 christos 75: #AllowTcpForwarding yes
76: #GatewayPorts no
1.1.1.7 itojun 77: #X11Forwarding no
78: #X11DisplayOffset 10
79: #X11UseLocalhost yes
80: #PrintMotd yes
81: #PrintLastLog yes
1.1.1.12 christos 82: #TCPKeepAlive yes
1.1 itojun 83: #UseLogin no
1.1.1.9 itojun 84: #UsePrivilegeSeparation yes
1.1.1.11 itojun 85: #PermitUserEnvironment no
1.1.1.14 christos 86: #Compression delayed
1.1.1.12 christos 87: #ClientAliveInterval 0
88: #ClientAliveCountMax 3
89: #UseDNS yes
90: #PidFile /var/run/sshd.pid
1.1.1.7 itojun 91: #MaxStartups 10
1.1.1.14 christos 92: #PermitTunnel no
1.1.1.17! christos 93: #ChrootDirectory none
1.1.1.12 christos 94:
1.1.1.7 itojun 95: # no default banner path
1.1.1.17! christos 96: #Banner none
1.1 itojun 97:
1.1.1.7 itojun 98: # override default of no subsystems
1.1 itojun 99: Subsystem sftp /usr/libexec/sftp-server
1.1.1.15 christos 100:
101: # Example of overriding settings on a per-user basis
102: #Match User anoncvs
103: # X11Forwarding no
104: # AllowTcpForwarding no
105: # ForceCommand cvs server
CVSweb <webmaster@jp.NetBSD.org>