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


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.


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

vi /etc/ssh/sshd_config


#Banner /some/path


Banner /etc/ssh/ssh_banner

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

stopsrc -s sshd
startsrc -s sshd

See Also