[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.30

1.30    ! christos    1: #      $NetBSD: sshd_config,v 1.1.1.17 2008/04/06 21:18:37 christos Exp $
        !             2: #      $OpenBSD: sshd_config,v 1.77 2008/02/08 23:24:07 djm 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.22      christos   13: #AddressFamily any
1.1       itojun     14: #ListenAddress 0.0.0.0
                     15: #ListenAddress ::
1.7       itojun     16:
1.27      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.7       itojun     22: # HostKey for protocol version 1
1.11      itojun     23: #HostKey /etc/ssh/ssh_host_key
1.7       itojun     24: # HostKeys for protocol version 2
1.11      itojun     25: #HostKey /etc/ssh/ssh_host_rsa_key
                     26: #HostKey /etc/ssh/ssh_host_dsa_key
1.7       itojun     27:
                     28: # Lifetime and size of ephemeral version 1 server key
1.20      christos   29: #KeyRegenerationInterval 1h
1.10      itojun     30: #ServerKeyBits 768
1.1       itojun     31:
                     32: # Logging
1.23      christos   33: # obsoletes QuietMode and FascistLogging
1.10      itojun     34: #SyslogFacility AUTH
                     35: #LogLevel INFO
1.1       itojun     36:
1.7       itojun     37: # Authentication:
                     38:
1.19      jonb       39: # Slow machines or long keys may require more processing time.
                     40: LoginGraceTime 600
1.10      itojun     41: #PermitRootLogin no
                     42: #StrictModes yes
1.20      christos   43: #MaxAuthTries 6
1.10      itojun     44:
                     45: #RSAAuthentication yes
                     46: #PubkeyAuthentication yes
                     47: #AuthorizedKeysFile    .ssh/authorized_keys
1.7       itojun     48:
1.11      itojun     49: # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
1.10      itojun     50: #RhostsRSAAuthentication no
1.5       itojun     51: # similar for protocol version 2
1.10      itojun     52: #HostbasedAuthentication no
                     53: # Change to yes if you don't trust ~/.ssh/known_hosts for
                     54: # RhostsRSAAuthentication and HostbasedAuthentication
                     55: #IgnoreUserKnownHosts no
1.20      christos   56: # Don't read the user's ~/.rhosts and ~/.shosts files
                     57: #IgnoreRhosts yes
1.1       itojun     58:
                     59: # To disable tunneled clear text passwords, change to no here!
1.10      itojun     60: #PasswordAuthentication yes
                     61: #PermitEmptyPasswords no
1.1       itojun     62:
1.10      itojun     63: # Change to no to disable s/key passwords
                     64: #ChallengeResponseAuthentication yes
1.1       itojun     65:
1.10      itojun     66: # Kerberos options
1.13      itojun     67: #KerberosAuthentication no
1.1       itojun     68: #KerberosOrLocalPasswd yes
1.10      itojun     69: #KerberosTicketCleanup yes
1.20      christos   70: #KerberosGetAFSToken no
1.1       itojun     71:
1.20      christos   72: # GSSAPI options
                     73: #GSSAPIAuthentication no
                     74: #GSSAPICleanupCredentials yes
1.1       itojun     75:
1.20      christos   76: #AllowTcpForwarding yes
                     77: #GatewayPorts no
1.10      itojun     78: #X11Forwarding no
1.28      tnn        79: # If you use xorg from pkgsrc then uncomment the following line.
1.26      jnemeth    80: #XAuthLocation /usr/pkg/bin/xauth
1.10      itojun     81: #X11DisplayOffset 10
                     82: #X11UseLocalhost yes
                     83: #PrintMotd yes
                     84: #PrintLastLog yes
1.20      christos   85: #TCPKeepAlive yes
1.1       itojun     86: #UseLogin no
1.14      itojun     87: #UsePrivilegeSeparation yes
1.21      christos   88: UsePam yes
1.16      itojun     89: #PermitUserEnvironment no
1.23      christos   90: #Compression delayed
1.20      christos   91: #ClientAliveInterval 0
                     92: #ClientAliveCountMax 3
                     93: #UseDNS yes
                     94: #PidFile /var/run/sshd.pid
                     95: #MaxStartups 10
1.23      christos   96: #PermitTunnel no
1.30    ! christos   97: #ChrootDirectory none
1.1       itojun     98:
1.10      itojun     99: # no default banner path
1.30    ! christos  100: #Banner none
1.1       itojun    101:
1.10      itojun    102: # override default of no subsystems
1.1       itojun    103: Subsystem      sftp    /usr/libexec/sftp-server
1.24      christos  104:
                    105: # Example of overriding settings on a per-user basis
                    106: #Match User anoncvs
                    107: #      X11Forwarding no
                    108: #      AllowTcpForwarding no
                    109: #      ForceCommand cvs server

CVSweb <webmaster@jp.NetBSD.org>