blob: 7ebee6c12477a89c110adeba4742b3ec63d0891c [file] [log] [blame]
Dmitry Teselkine9420e72018-04-03 13:49:39 +03001# 5.2.2 Ensure SSH Protocol is set to 2 (Scored)
2#
3# Profile Applicability
4# ---------------------
5# - Level 1 - Server
6# - Level 1 - Workstation
7#
8# Description
9# -----------
10# SSH supports two different and incompatible protocols: SSH1 and SSH2. SSH1 was the
11# original protocol and was subject to security issues. SSH2 is more advanced and secure.
12#
13# Rationale
14# ---------
15# SSH v1 suffers from insecurities that do not affect SSH v2.
16#
17# Audit
18# -----
19# Run the following command and verify that output matches:
20#
21# # grep "^Protocol" /etc/ssh/sshd_config
22# Protocol 2
23#
24# Remediation
25# -----------
26# Edit the /etc/ssh/sshd_config file to set the parameter as follows:
27#
28# Protocol 2
29
30parameter:
31 openssh:
32 server:
33 protocol: 2
34