source: ogLive-Builder-Git/includes/etc/ssh/sshd_config @ ef4ff2a

browserbuild-browserdeps-vadimfilebeat-installerimprove-versionlgromero-testsmainno-apt-moduleoglive-ipv6pull-from-cloning-enginepybuilder
Last change on this file since ef4ff2a was c2fe8f7, checked in by Natalia Serrano <natalia.serrano@…>, 8 months ago

refs #596 remove deprecated sshd config items, add shell code for some unused functions

  • Property mode set to 100644
File size: 2.1 KB
Line 
1# Package generated configuration file
2# See the sshd_config(5) manpage for details
3
4# What ports, IPs and protocols we listen for
5Port 22
6# Use these options to restrict which interfaces/protocols sshd will bind to
7#ListenAddress ::
8#ListenAddress 0.0.0.0
9Protocol 2
10# HostKeys for protocol version 2
11HostKey /etc/ssh/ssh_host_rsa_key
12HostKey /etc/ssh/ssh_host_dsa_key
13
14# Logging
15SyslogFacility AUTH
16LogLevel INFO
17
18# Authentication:
19LoginGraceTime 120
20PermitRootLogin yes
21StrictModes yes
22
23PubkeyAuthentication yes
24#AuthorizedKeysFile     %h/.ssh/authorized_keys
25
26# Don't read the user's ~/.rhosts and ~/.shosts files
27IgnoreRhosts yes
28# similar for protocol version 2
29HostbasedAuthentication no
30# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
31#IgnoreUserKnownHosts yes
32
33# To enable empty passwords, change to yes (NOT RECOMMENDED)
34PermitEmptyPasswords no
35
36# Change to yes to enable challenge-response passwords (beware issues with
37# some PAM modules and threads)
38ChallengeResponseAuthentication no
39
40# Change to no to disable tunnelled clear text passwords
41#PasswordAuthentication yes
42
43# Kerberos options
44#KerberosAuthentication no
45#KerberosGetAFSToken no
46#KerberosOrLocalPasswd yes
47#KerberosTicketCleanup yes
48
49# GSSAPI options
50#GSSAPIAuthentication no
51#GSSAPICleanupCredentials yes
52
53X11Forwarding yes
54X11DisplayOffset 10
55PrintMotd no
56PrintLastLog yes
57TCPKeepAlive yes
58#UseLogin no
59
60#MaxStartups 10:30:60
61#Banner /etc/issue.net
62
63# Allow client to pass locale environment variables
64AcceptEnv LANG LC_*
65
66Subsystem sftp /usr/lib/openssh/sftp-server
67
68# Set this to 'yes' to enable PAM authentication, account processing,
69# and session processing. If this is enabled, PAM authentication will
70# be allowed through the ChallengeResponseAuthentication and
71# PasswordAuthentication.  Depending on your PAM configuration,
72# PAM authentication via ChallengeResponseAuthentication may bypass
73# the setting of "PermitRootLogin without-password".
74# If you just want the PAM account and session checks to run without
75# PAM authentication, then enable this but set PasswordAuthentication
76# and ChallengeResponseAuthentication to 'no'.
77UsePAM yes
Note: See TracBrowser for help on using the repository browser.