blob: fdcd6d3beaaf3bf1795cc22bed77277137a2bdb8 [file] [log] [blame]
Dmitry Teselkine9420e72018-04-03 13:49:39 +03001# 5.2.6 Ensure SSH IgnoreRhosts is enabled (Scored)
2#
3# Profile Applicability
4# ---------------------
5# - Level 1 - Server
6# - Level 1 - Workstation
7#
8# Description
9# -----------
10# The IgnoreRhosts parameter specifies that .rhosts and .shosts files will not be used in
11# RhostsRSAAuthentication or HostbasedAuthentication .
12#
13# Rationale
14# ---------
15# Setting this parameter forces users to enter a password when authenticating with ssh.
16#
17# Audit
18# -----
19# Run the following command and verify that output matches:
20#
21# # grep "^IgnoreRhosts" /etc/ssh/sshd_config
22# IgnoreRhosts yes
23#
24# Remediation
25# -----------
26# Edit the /etc/ssh/sshd_config file to set the parameter as follows:
27#
28# IgnoreRhosts yes
29
30parameter:
31 openssh:
32 server:
33 ignore_rhosts: True
34