4.2.5 Configuring SSH - banner configuration - sshd_config

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The recommendation is to edit the /etc/ssh/sshd_config file and configure a path to a login herald message.

The login herald configured previously is not displayed during the initiation of a new SSH connection. Prior to a password being entered the user should accept the terms and conditions of the corporate acceptable usage policy.

Solution

Edit the /etc/ssh/sshd_config file and customize the Banner parameter-

vi /etc/ssh/sshd_config

Replace-

#Banner /some/path

With-

Banner /etc/ssh/ssh_banner

Re-cycle the sshd daemon to pick up the configuration changes-

stopsrc -s sshd
startsrc -s sshd

See Also

https://workbench.cisecurity.org/files/528