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

1.31.6.1! jym         1: #      $NetBSD: sshd_config,v 1.32 2009/02/16 20:53:55 christos Exp $
        !             2: #      $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 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.31.6.1! jym        30: #ServerKeyBits 1024
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.31.6.1! jym        44: #MaxSessions 10
1.10      itojun     45:
                     46: #RSAAuthentication yes
                     47: #PubkeyAuthentication yes
                     48: #AuthorizedKeysFile    .ssh/authorized_keys
1.7       itojun     49:
1.11      itojun     50: # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
1.10      itojun     51: #RhostsRSAAuthentication no
1.5       itojun     52: # similar for protocol version 2
1.10      itojun     53: #HostbasedAuthentication no
                     54: # Change to yes if you don't trust ~/.ssh/known_hosts for
                     55: # RhostsRSAAuthentication and HostbasedAuthentication
                     56: #IgnoreUserKnownHosts no
1.20      christos   57: # Don't read the user's ~/.rhosts and ~/.shosts files
                     58: #IgnoreRhosts yes
1.1       itojun     59:
                     60: # To disable tunneled clear text passwords, change to no here!
1.10      itojun     61: #PasswordAuthentication yes
                     62: #PermitEmptyPasswords no
1.1       itojun     63:
1.10      itojun     64: # Change to no to disable s/key passwords
                     65: #ChallengeResponseAuthentication yes
1.1       itojun     66:
1.10      itojun     67: # Kerberos options
1.13      itojun     68: #KerberosAuthentication no
1.1       itojun     69: #KerberosOrLocalPasswd yes
1.10      itojun     70: #KerberosTicketCleanup yes
1.20      christos   71: #KerberosGetAFSToken no
1.1       itojun     72:
1.20      christos   73: # GSSAPI options
                     74: #GSSAPIAuthentication no
                     75: #GSSAPICleanupCredentials yes
1.1       itojun     76:
1.31.6.1! jym        77: #AllowAgentForwarding yes
1.20      christos   78: #AllowTcpForwarding yes
                     79: #GatewayPorts no
1.10      itojun     80: #X11Forwarding no
1.28      tnn        81: # If you use xorg from pkgsrc then uncomment the following line.
1.26      jnemeth    82: #XAuthLocation /usr/pkg/bin/xauth
1.10      itojun     83: #X11DisplayOffset 10
                     84: #X11UseLocalhost yes
                     85: #PrintMotd yes
                     86: #PrintLastLog yes
1.20      christos   87: #TCPKeepAlive yes
1.1       itojun     88: #UseLogin no
1.14      itojun     89: #UsePrivilegeSeparation yes
1.21      christos   90: UsePam yes
1.16      itojun     91: #PermitUserEnvironment no
1.23      christos   92: #Compression delayed
1.20      christos   93: #ClientAliveInterval 0
                     94: #ClientAliveCountMax 3
                     95: #UseDNS yes
                     96: #PidFile /var/run/sshd.pid
                     97: #MaxStartups 10
1.23      christos   98: #PermitTunnel no
1.30      christos   99: #ChrootDirectory none
1.1       itojun    100:
1.10      itojun    101: # no default banner path
1.30      christos  102: #Banner none
1.1       itojun    103:
1.10      itojun    104: # override default of no subsystems
1.1       itojun    105: Subsystem      sftp    /usr/libexec/sftp-server
1.24      christos  106:
1.31      christos  107: # the following are HPN related configuration options
                    108: # tcp receive buffer polling. disable in non autotuning kernels
                    109: #TcpRcvBufPoll yes
                    110:
                    111: # allow the use of the none cipher
                    112: #NoneEnabled no
                    113:
                    114: # disable hpn performance boosts.
                    115: #HPNDisabled no
                    116:
                    117: # buffer size for hpn to non-hpn connections
                    118: #HPNBufferSize 2048
                    119:
                    120:
1.24      christos  121: # Example of overriding settings on a per-user basis
                    122: #Match User anoncvs
                    123: #      X11Forwarding no
                    124: #      AllowTcpForwarding no
                    125: #      ForceCommand cvs server

CVSweb <webmaster@jp.NetBSD.org>