SV-230758r599842_rule
V-230758
SRG-OS-000023-GPOS-00006
APPL-11-000024
CAT II
10
For systems that allow remote access through SSH run the following command:
# /usr/bin/sudo /usr/bin/sed -i.bak 's/^#Banner.*/Banner \/etc\/banner/' /etc/ssh/sshd_config
If SSH is not being used, this is Not Applicable.
For systems that allow remote access through SSH, run the following command to verify that "/etc/banner" is displayed before granting access:
# /usr/bin/grep Banner /etc/ssh/sshd_config
Banner /etc/banner
If the sshd Banner configuration option does not point to "/etc/banner", this is a finding.
V-230758
False
APPL-11-000024
If SSH is not being used, this is Not Applicable.
For systems that allow remote access through SSH, run the following command to verify that "/etc/banner" is displayed before granting access:
# /usr/bin/grep Banner /etc/ssh/sshd_config
Banner /etc/banner
If the sshd Banner configuration option does not point to "/etc/banner", this is a finding.
M
5246