mark boards as experimental
[openadk.git] / package / openssh / files / sshd_config
blob9eab62f73ab6e37ec610435203d4be75cf2b1c19
1 #       $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $
3 # This is the sshd server system-wide configuration file.  See
4 # sshd_config(5) for more information.
6 # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
8 # The strategy used for options in the default sshd_config shipped with
9 # OpenSSH is to specify options with their default value where
10 # possible, but leave them commented.  Uncommented options change a
11 # default value.
13 #Port 22
14 #AddressFamily any
15 # uncomment next line to disable ipv6
16 #ListenAddress 0.0.0.0
17 #ListenAddress ::
19 # Disable legacy (protocol version 1) support in the server for new
20 # installations. In future the default will change to require explicit
21 # activation of protocol 1
22 Protocol 2
24 # HostKey for protocol version 1
25 #HostKey /etc/ssh/ssh_host_key
26 # HostKeys for protocol version 2
27 HostKey /etc/ssh/ssh_host_rsa_key
28 #HostKey /etc/ssh/ssh_host_dsa_key
30 # Lifetime and size of ephemeral version 1 server key
31 #KeyRegenerationInterval 1h
32 #ServerKeyBits 1024
34 # Logging
35 # obsoletes QuietMode and FascistLogging
36 #SyslogFacility AUTH
37 #LogLevel INFO
39 # Authentication:
41 #LoginGraceTime 2m
42 PermitRootLogin yes
43 #StrictModes yes
44 #MaxAuthTries 6
45 #MaxSessions 10
47 #RSAAuthentication yes
48 PubkeyAuthentication yes
49 AuthorizedKeysFile      /etc/ssh/authorized_keys
51 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
52 #RhostsRSAAuthentication no
53 # similar for protocol version 2
54 #HostbasedAuthentication no
55 # Change to yes if you don't trust ~/.ssh/known_hosts for
56 # RhostsRSAAuthentication and HostbasedAuthentication
57 #IgnoreUserKnownHosts no
58 # Don't read the user's ~/.rhosts and ~/.shosts files
59 #IgnoreRhosts yes
61 # To disable tunneled clear text passwords, change to no here!
62 #PasswordAuthentication yes
63 #PermitEmptyPasswords no
65 # Change to no to disable s/key passwords
66 #ChallengeResponseAuthentication yes
68 # GSSAPI options for Kerberos 5
69 #GSSAPIAuthentication no
70 #GSSAPICleanupCredentials yes
72 # Set this to 'yes' to enable PAM authentication, account processing, 
73 # and session processing. If this is enabled, PAM authentication will 
74 # be allowed through the ChallengeResponseAuthentication and
75 # PasswordAuthentication.  Depending on your PAM configuration,
76 # PAM authentication via ChallengeResponseAuthentication may bypass
77 # the setting of "PermitRootLogin without-password".
78 # If you just want the PAM account and session checks to run without
79 # PAM authentication, then enable this but set PasswordAuthentication
80 # and ChallengeResponseAuthentication to 'no'.
81 #UsePAM no
83 #AllowAgentForwarding yes
84 #AllowTcpForwarding yes
85 #GatewayPorts no
86 #X11Forwarding no
87 #X11DisplayOffset 10
88 #X11UseLocalhost yes
89 #PrintMotd yes
90 #PrintLastLog yes
91 #TCPKeepAlive yes
92 #UseLogin no
93 UsePrivilegeSeparation yes
94 #PermitUserEnvironment no
95 #Compression delayed
96 #ClientAliveInterval 0
97 #ClientAliveCountMax 3
98 UseDNS no
99 #PidFile /var/run/sshd.pid
100 #MaxStartups 10
101 #PermitTunnel no
102 #ChrootDirectory none
104 # no default banner path
105 #Banner none
107 # override default of no subsystems
108 Subsystem       sftp    /usr/libexec/sftp-server
110 # Example of overriding settings on a per-user basis
111 #Match User anoncvs
112 #       X11Forwarding no
113 #       AllowTcpForwarding no
114 #       ForceCommand cvs server