[BACK]Return to sshd_config CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / crypto / dist / ssh

Annotation of src/crypto/dist/ssh/sshd_config, Revision 1.1.1.18

1.1.1.18! christos    1: #      $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $
1.1       itojun      2:
1.1.1.10  itojun      3: # This is the sshd server system-wide configuration file.  See
                      4: # sshd_config(5) for more information.
1.1       itojun      5:
1.1.1.7   itojun      6: # The strategy 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
1.1.1.13  christos   12: #AddressFamily any
1.1       itojun     13: #ListenAddress 0.0.0.0
                     14: #ListenAddress ::
1.1.1.5   itojun     15:
1.1.1.16  christos   16: # Disable legacy (protocol version 1) support in the server for new
                     17: # installations. In future the default will change to require explicit
                     18: # activation of protocol 1
                     19: Protocol 2
                     20:
1.1.1.5   itojun     21: # HostKey for protocol version 1
1.1.1.7   itojun     22: #HostKey /etc/ssh/ssh_host_key
1.1.1.5   itojun     23: # HostKeys for protocol version 2
1.1.1.7   itojun     24: #HostKey /etc/ssh/ssh_host_rsa_key
                     25: #HostKey /etc/ssh/ssh_host_dsa_key
1.1.1.5   itojun     26:
                     27: # Lifetime and size of ephemeral version 1 server key
1.1.1.12  christos   28: #KeyRegenerationInterval 1h
1.1.1.18! christos   29: #ServerKeyBits 1024
1.1       itojun     30:
                     31: # Logging
1.1.1.14  christos   32: # obsoletes QuietMode and FascistLogging
1.1.1.7   itojun     33: #SyslogFacility AUTH
                     34: #LogLevel INFO
1.1       itojun     35:
1.1.1.5   itojun     36: # Authentication:
                     37:
1.1.1.12  christos   38: #LoginGraceTime 2m
1.1.1.7   itojun     39: #PermitRootLogin yes
                     40: #StrictModes yes
1.1.1.12  christos   41: #MaxAuthTries 6
1.1.1.18! christos   42: #MaxSessions 10
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.18! christos   75: #AllowAgentForwarding yes
1.1.1.12  christos   76: #AllowTcpForwarding yes
                     77: #GatewayPorts no
1.1.1.7   itojun     78: #X11Forwarding no
                     79: #X11DisplayOffset 10
                     80: #X11UseLocalhost yes
                     81: #PrintMotd yes
                     82: #PrintLastLog yes
1.1.1.12  christos   83: #TCPKeepAlive yes
1.1       itojun     84: #UseLogin no
1.1.1.9   itojun     85: #UsePrivilegeSeparation yes
1.1.1.11  itojun     86: #PermitUserEnvironment no
1.1.1.14  christos   87: #Compression delayed
1.1.1.12  christos   88: #ClientAliveInterval 0
                     89: #ClientAliveCountMax 3
                     90: #UseDNS yes
                     91: #PidFile /var/run/sshd.pid
1.1.1.7   itojun     92: #MaxStartups 10
1.1.1.14  christos   93: #PermitTunnel no
1.1.1.17  christos   94: #ChrootDirectory none
1.1.1.12  christos   95:
1.1.1.7   itojun     96: # no default banner path
1.1.1.17  christos   97: #Banner none
1.1       itojun     98:
1.1.1.7   itojun     99: # override default of no subsystems
1.1       itojun    100: Subsystem      sftp    /usr/libexec/sftp-server
1.1.1.15  christos  101:
                    102: # Example of overriding settings on a per-user basis
                    103: #Match User anoncvs
                    104: #      X11Forwarding no
                    105: #      AllowTcpForwarding no
                    106: #      ForceCommand cvs server

CVSweb <webmaster@jp.NetBSD.org>