]> andersk Git - openssh.git/blob - sshd_config
- (djm) Explain consequences of UsePAM=yes a little better in sshd_config;
[openssh.git] / sshd_config
1 #       $OpenBSD: sshd_config,v 1.68 2003/12/29 16:39:50 millert Exp $
2
3 # This is the sshd server system-wide configuration file.  See
4 # sshd_config(5) for more information.
5
6 # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
7
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.
12
13 #Port 22
14 #Protocol 2,1
15 #ListenAddress 0.0.0.0
16 #ListenAddress ::
17
18 # HostKey for protocol version 1
19 #HostKey /etc/ssh/ssh_host_key
20 # HostKeys for protocol version 2
21 #HostKey /etc/ssh/ssh_host_rsa_key
22 #HostKey /etc/ssh/ssh_host_dsa_key
23
24 # Lifetime and size of ephemeral version 1 server key
25 #KeyRegenerationInterval 1h
26 #ServerKeyBits 768
27
28 # Logging
29 #obsoletes QuietMode and FascistLogging
30 #SyslogFacility AUTH
31 #LogLevel INFO
32
33 # Authentication:
34
35 #LoginGraceTime 2m
36 #PermitRootLogin yes
37 #StrictModes yes
38
39 #RSAAuthentication yes
40 #PubkeyAuthentication yes
41 #AuthorizedKeysFile     .ssh/authorized_keys
42
43 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
44 #RhostsRSAAuthentication no
45 # similar for protocol version 2
46 #HostbasedAuthentication no
47 # Change to yes if you don't trust ~/.ssh/known_hosts for
48 # RhostsRSAAuthentication and HostbasedAuthentication
49 #IgnoreUserKnownHosts no
50 # Don't read the user's ~/.rhosts and ~/.shosts files
51 #IgnoreRhosts yes
52
53 # To disable tunneled clear text passwords, change to no here!
54 #PasswordAuthentication yes
55 #PermitEmptyPasswords no
56
57 # Change to no to disable s/key passwords
58 #ChallengeResponseAuthentication yes
59
60 # Kerberos options
61 #KerberosAuthentication no
62 #KerberosOrLocalPasswd yes
63 #KerberosTicketCleanup yes
64 #KerberosGetAFSToken no
65
66 # GSSAPI options
67 #GSSAPIAuthentication no
68 #GSSAPICleanupCredentials yes
69
70 # Set this to 'yes' to enable PAM authentication, account processing, 
71 # and session processing. If this is enabled, PAM authentication will 
72 # be allowed through the ChallengeResponseAuthentication mechanism. 
73 # Depending on your PAM configuration, this may bypass the setting of 
74 # PasswordAuthentication, PermitEmptyPasswords, and 
75 # "PermitRootLogin without-password". If you just want the PAM account and 
76 # session checks to run without PAM authentication, then enable this but set 
77 # ChallengeResponseAuthentication=no
78 #UsePAM no
79
80 #AllowTcpForwarding yes
81 #GatewayPorts no
82 #X11Forwarding no
83 #X11DisplayOffset 10
84 #X11UseLocalhost yes
85 #PrintMotd yes
86 #PrintLastLog yes
87 #TCPKeepAlive yes
88 #UseLogin no
89 #UsePrivilegeSeparation yes
90 #PermitUserEnvironment no
91 #Compression yes
92 #ClientAliveInterval 0
93 #ClientAliveCountMax 3
94 #UseDNS yes
95 #PidFile /var/run/sshd.pid
96 #MaxStartups 10
97
98 # no default banner path
99 #Banner /some/path
100
101 # override default of no subsystems
102 Subsystem       sftp    /usr/libexec/sftp-server
This page took 0.194882 seconds and 5 git commands to generate.