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

1.25.8.1! matt        1: #      $NetBSD$
        !             2: #      $OpenBSD: sshd_config,v 1.75 2007/03/19 01:01:29 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.25      adrianp    13: Protocol 2
1.22      christos   14: #AddressFamily any
1.1       itojun     15: #ListenAddress 0.0.0.0
                     16: #ListenAddress ::
1.7       itojun     17:
1.25.8.1! matt       18: # Disable legacy (protocol version 1) support in the server for new
        !            19: # installations. In future the default will change to require explicit
        !            20: # activation of protocol 1
        !            21: Protocol 2
        !            22:
1.7       itojun     23: # HostKey for protocol version 1
1.11      itojun     24: #HostKey /etc/ssh/ssh_host_key
1.7       itojun     25: # HostKeys for protocol version 2
1.11      itojun     26: #HostKey /etc/ssh/ssh_host_rsa_key
                     27: #HostKey /etc/ssh/ssh_host_dsa_key
1.7       itojun     28:
                     29: # Lifetime and size of ephemeral version 1 server key
1.20      christos   30: #KeyRegenerationInterval 1h
1.10      itojun     31: #ServerKeyBits 768
1.1       itojun     32:
                     33: # Logging
1.23      christos   34: # obsoletes QuietMode and FascistLogging
1.10      itojun     35: #SyslogFacility AUTH
                     36: #LogLevel INFO
1.1       itojun     37:
1.7       itojun     38: # Authentication:
                     39:
1.19      jonb       40: # Slow machines or long keys may require more processing time.
                     41: LoginGraceTime 600
1.10      itojun     42: #PermitRootLogin no
                     43: #StrictModes yes
1.20      christos   44: #MaxAuthTries 6
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.20      christos   77: #AllowTcpForwarding yes
                     78: #GatewayPorts no
1.10      itojun     79: #X11Forwarding no
1.25.8.1! matt       80: # If you use xorg from pkgsrc then uncomment the following line.
        !            81: #XAuthLocation /usr/pkg/bin/xauth
1.10      itojun     82: #X11DisplayOffset 10
                     83: #X11UseLocalhost yes
                     84: #PrintMotd yes
                     85: #PrintLastLog yes
1.20      christos   86: #TCPKeepAlive yes
1.1       itojun     87: #UseLogin no
1.14      itojun     88: #UsePrivilegeSeparation yes
1.21      christos   89: UsePam yes
1.16      itojun     90: #PermitUserEnvironment no
1.23      christos   91: #Compression delayed
1.20      christos   92: #ClientAliveInterval 0
                     93: #ClientAliveCountMax 3
                     94: #UseDNS yes
                     95: #PidFile /var/run/sshd.pid
                     96: #MaxStartups 10
1.23      christos   97: #PermitTunnel no
1.1       itojun     98:
1.10      itojun     99: # no default banner path
                    100: #Banner /some/path
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>