SV-99227r1_rule
V-88577
SRG-OS-000112-GPOS-00057
VROM-SL-000690
CAT II
10
Configure SLES for vRealize to enforce SSHv2 for network access to privileged accounts by running the following commands:
# sed -i 's/^.*\bProtocol\b.*$/Protocol 2/' /etc/ssh/sshd_config
Restart the ssh service.
# service sshd restart
Verify that SLES for vRealize enforces SSHv2 for network access to privileged accounts by running the following command:
Replace [ADDRESS] in the following command with the correct IP address based on the current system configuration.
# ssh -1 [ADDRESS]
An example of the command usage is as follows:
# ssh -1 localhost
The output must be the following:
Protocol major versions differ: 1 vs. 2
If it is not, this is a finding.
OR
Verify that the ssh is configured to enforce SSHv2 for network access to privileged accounts by running the following command:
# grep Protocol /etc/ssh/sshd_config
If the result is not "Protocol 2", this is a finding.
V-88577
False
VROM-SL-000690
Verify that SLES for vRealize enforces SSHv2 for network access to privileged accounts by running the following command:
Replace [ADDRESS] in the following command with the correct IP address based on the current system configuration.
# ssh -1 [ADDRESS]
An example of the command usage is as follows:
# ssh -1 localhost
The output must be the following:
Protocol major versions differ: 1 vs. 2
If it is not, this is a finding.
OR
Verify that the ssh is configured to enforce SSHv2 for network access to privileged accounts by running the following command:
# grep Protocol /etc/ssh/sshd_config
If the result is not "Protocol 2", this is a finding.
M
3461