SV-4295r2_rule
V-4295
GEN005500
GEN005500
CAT I
10
Edit the configuration file and modify the Protocol line.
Protocol 2
Restart sshd:
/sbin/init.d/secsh stop
/sbin/init.d/secsh start
Examine the sshd configuration file.
cat /opt/ssh/etc/sshd_config | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v '^#' | grep -i "Protocol"
If Protocol 2,1 or Protocol 1 are defined on a line without a leading comment, this is a finding.
V-4295
False
GEN005500
Examine the sshd configuration file.
cat /opt/ssh/etc/sshd_config | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v '^#' | grep -i "Protocol"
If Protocol 2,1 or Protocol 1 are defined on a line without a leading comment, this is a finding.
M
System Administrator
1386