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

1.1.1.4   itojun      1: #      $NetBSD$
1.1.1.15! christos    2: #      $OpenBSD: sshd_config,v 1.74 2006/07/19 13:07:10 dtucker Exp $
1.1       itojun      3:
1.1.1.10  itojun      4: # This is the sshd server system-wide configuration file.  See
                      5: # sshd_config(5) for more information.
1.1       itojun      6:
1.1.1.7   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.1       itojun     13: #Protocol 2,1
1.1.1.13  christos   14: #AddressFamily any
1.1       itojun     15: #ListenAddress 0.0.0.0
                     16: #ListenAddress ::
1.1.1.5   itojun     17:
                     18: # HostKey for protocol version 1
1.1.1.7   itojun     19: #HostKey /etc/ssh/ssh_host_key
1.1.1.5   itojun     20: # HostKeys for protocol version 2
1.1.1.7   itojun     21: #HostKey /etc/ssh/ssh_host_rsa_key
                     22: #HostKey /etc/ssh/ssh_host_dsa_key
1.1.1.5   itojun     23:
                     24: # Lifetime and size of ephemeral version 1 server key
1.1.1.12  christos   25: #KeyRegenerationInterval 1h
1.1.1.7   itojun     26: #ServerKeyBits 768
1.1       itojun     27:
                     28: # Logging
1.1.1.14  christos   29: # obsoletes QuietMode and FascistLogging
1.1.1.7   itojun     30: #SyslogFacility AUTH
                     31: #LogLevel INFO
1.1       itojun     32:
1.1.1.5   itojun     33: # Authentication:
                     34:
1.1.1.12  christos   35: #LoginGraceTime 2m
1.1.1.7   itojun     36: #PermitRootLogin yes
                     37: #StrictModes yes
1.1.1.12  christos   38: #MaxAuthTries 6
1.1.1.7   itojun     39:
                     40: #RSAAuthentication yes
                     41: #PubkeyAuthentication yes
                     42: #AuthorizedKeysFile    .ssh/authorized_keys
1.1.1.5   itojun     43:
1.1.1.7   itojun     44: # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
                     45: #RhostsRSAAuthentication no
1.1.1.4   itojun     46: # similar for protocol version 2
1.1.1.7   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.1.1.12  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.1.1.7   itojun     55: #PasswordAuthentication yes
                     56: #PermitEmptyPasswords no
1.1       itojun     57:
1.1.1.7   itojun     58: # Change to no to disable s/key passwords
                     59: #ChallengeResponseAuthentication yes
1.1       itojun     60:
1.1.1.7   itojun     61: # Kerberos options
1.1.1.9   itojun     62: #KerberosAuthentication no
1.1       itojun     63: #KerberosOrLocalPasswd yes
1.1.1.7   itojun     64: #KerberosTicketCleanup yes
1.1.1.12  christos   65: #KerberosGetAFSToken no
1.1.1.7   itojun     66:
1.1.1.12  christos   67: # GSSAPI options
                     68: #GSSAPIAuthentication no
                     69: #GSSAPICleanupCredentials yes
1.1       itojun     70:
1.1.1.12  christos   71: #AllowTcpForwarding yes
                     72: #GatewayPorts no
1.1.1.7   itojun     73: #X11Forwarding no
                     74: #X11DisplayOffset 10
                     75: #X11UseLocalhost yes
                     76: #PrintMotd yes
                     77: #PrintLastLog yes
1.1.1.12  christos   78: #TCPKeepAlive yes
1.1       itojun     79: #UseLogin no
1.1.1.9   itojun     80: #UsePrivilegeSeparation yes
1.1.1.11  itojun     81: #PermitUserEnvironment no
1.1.1.14  christos   82: #Compression delayed
1.1.1.12  christos   83: #ClientAliveInterval 0
                     84: #ClientAliveCountMax 3
                     85: #UseDNS yes
                     86: #PidFile /var/run/sshd.pid
1.1.1.7   itojun     87: #MaxStartups 10
1.1.1.14  christos   88: #PermitTunnel no
1.1.1.12  christos   89:
1.1.1.7   itojun     90: # no default banner path
                     91: #Banner /some/path
1.1       itojun     92:
1.1.1.7   itojun     93: # override default of no subsystems
1.1       itojun     94: Subsystem      sftp    /usr/libexec/sftp-server
1.1.1.15! christos   95:
        !            96: # Example of overriding settings on a per-user basis
        !            97: #Match User anoncvs
        !            98: #      X11Forwarding no
        !            99: #      AllowTcpForwarding no
        !           100: #      ForceCommand cvs server

CVSweb <webmaster@jp.NetBSD.org>