SV-204594r603261_rule
V-204594
SRG-OS-000074-GPOS-00042
RHEL-07-040390
CAT I
10
Remove all Protocol lines that reference version "1" in "/etc/ssh/sshd_config" (this file may be named differently or be in a different location if using a version of SSH that is provided by a third-party vendor). The "Protocol" line must be as follows:
Protocol 2
The SSH service must be restarted for changes to take effect.
Check the version of the operating system with the following command:
# cat /etc/redhat-release
If the release is 7.4 or newer this requirement is Not Applicable.
Verify the SSH daemon is configured to only use the SSHv2 protocol.
Check that the SSH daemon is configured to only use the SSHv2 protocol with the following command:
# grep -i protocol /etc/ssh/sshd_config
Protocol 2
#Protocol 1,2
If any protocol line other than "Protocol 2" is uncommented, this is a finding.
V-204594
False
RHEL-07-040390
Check the version of the operating system with the following command:
# cat /etc/redhat-release
If the release is 7.4 or newer this requirement is Not Applicable.
Verify the SSH daemon is configured to only use the SSHv2 protocol.
Check that the SSH daemon is configured to only use the SSHv2 protocol with the following command:
# grep -i protocol /etc/ssh/sshd_config
Protocol 2
#Protocol 1,2
If any protocol line other than "Protocol 2" is uncommented, this is a finding.
M
2899