blob: f2e13bfb7864b68de6d7c5a89fa150f22f95468c [file] [log] [blame]
Dmitry Teselkine9420e72018-04-03 13:49:39 +03001# 5.2.7 Ensure SSH HostbasedAuthentication is disabled (Scored)
2#
3# Profile Applicability
4# ---------------------
5# - Level 1 - Server
6# - Level 1 - Workstation
7#
8# Description
9# -----------
10# The HostbasedAuthentication parameter specifies if authentication is allowed through
11# trusted hosts via the user of .rhosts , or /etc/hosts.equiv , along with successful public
12# key client host authentication. This option only applies to SSH Protocol Version 2.
13#
14# Rationale
15# ---------
16# Even though the .rhosts files are ineffective if support is disabled in /etc/pam.conf ,
17# disabling the ability to use .rhosts files in SSH provides an additional layer of protection .
18#
19# Audit
20# -----
21# Run the following command and verify that output matches:
22#
23# # grep "^HostbasedAuthentication" /etc/ssh/sshd_config
24# HostbasedAuthentication no
25#
26# Remediation
27# -----------
28# Edit the /etc/ssh/sshd_config file to set the parameter as follows:
29#
30# HostbasedAuthentication no
31
32parameters:
33 openssh:
34 server:
35 host_auth: False
36