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

1.21.2.1! ghen        1: #      $NetBSD$
1.20      christos    2: #      $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker 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.21.2.1! ghen       13: Protocol 2
1.1       itojun     14: #ListenAddress 0.0.0.0
                     15: #ListenAddress ::
1.7       itojun     16:
                     17: # HostKey for protocol version 1
1.11      itojun     18: #HostKey /etc/ssh/ssh_host_key
1.7       itojun     19: # HostKeys for protocol version 2
1.11      itojun     20: #HostKey /etc/ssh/ssh_host_rsa_key
                     21: #HostKey /etc/ssh/ssh_host_dsa_key
1.7       itojun     22:
                     23: # Lifetime and size of ephemeral version 1 server key
1.20      christos   24: #KeyRegenerationInterval 1h
1.10      itojun     25: #ServerKeyBits 768
1.1       itojun     26:
                     27: # Logging
                     28: #obsoletes QuietMode and FascistLogging
1.10      itojun     29: #SyslogFacility AUTH
                     30: #LogLevel INFO
1.1       itojun     31:
1.7       itojun     32: # Authentication:
                     33:
1.19      jonb       34: # Slow machines or long keys may require more processing time.
                     35: LoginGraceTime 600
1.10      itojun     36: #PermitRootLogin no
                     37: #StrictModes yes
1.20      christos   38: #MaxAuthTries 6
1.10      itojun     39:
                     40: #RSAAuthentication yes
                     41: #PubkeyAuthentication yes
                     42: #AuthorizedKeysFile    .ssh/authorized_keys
1.7       itojun     43:
1.11      itojun     44: # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
1.10      itojun     45: #RhostsRSAAuthentication no
1.5       itojun     46: # similar for protocol version 2
1.10      itojun     47: #HostbasedAuthentication no
                     48: # Change to yes if you don't trust ~/.ssh/known_hosts for
                     49: # RhostsRSAAuthentication and HostbasedAuthentication
                     50: #IgnoreUserKnownHosts no
1.20      christos   51: # Don't read the user's ~/.rhosts and ~/.shosts files
                     52: #IgnoreRhosts yes
1.1       itojun     53:
                     54: # To disable tunneled clear text passwords, change to no here!
1.10      itojun     55: #PasswordAuthentication yes
                     56: #PermitEmptyPasswords no
1.1       itojun     57:
1.10      itojun     58: # Change to no to disable s/key passwords
                     59: #ChallengeResponseAuthentication yes
1.1       itojun     60:
1.10      itojun     61: # Kerberos options
1.13      itojun     62: #KerberosAuthentication no
1.1       itojun     63: #KerberosOrLocalPasswd yes
1.10      itojun     64: #KerberosTicketCleanup yes
1.20      christos   65: #KerberosGetAFSToken no
1.1       itojun     66:
1.20      christos   67: # GSSAPI options
                     68: #GSSAPIAuthentication no
                     69: #GSSAPICleanupCredentials yes
1.1       itojun     70:
1.20      christos   71: #AllowTcpForwarding yes
                     72: #GatewayPorts no
1.10      itojun     73: #X11Forwarding no
                     74: #X11DisplayOffset 10
                     75: #X11UseLocalhost yes
                     76: #PrintMotd yes
                     77: #PrintLastLog yes
1.20      christos   78: #TCPKeepAlive yes
1.1       itojun     79: #UseLogin no
1.14      itojun     80: #UsePrivilegeSeparation yes
1.21      christos   81: UsePam yes
1.16      itojun     82: #PermitUserEnvironment no
1.15      itojun     83: #Compression yes
1.20      christos   84: #ClientAliveInterval 0
                     85: #ClientAliveCountMax 3
                     86: #UseDNS yes
                     87: #PidFile /var/run/sshd.pid
                     88: #MaxStartups 10
1.1       itojun     89:
1.10      itojun     90: # no default banner path
                     91: #Banner /some/path
1.1       itojun     92:
1.10      itojun     93: # override default of no subsystems
1.1       itojun     94: Subsystem      sftp    /usr/libexec/sftp-server

CVSweb <webmaster@jp.NetBSD.org>