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