To add a warning message for SSH connections
1. Edit the file /etc/issue.net
to add a warning message for network access.
2. To display the warning message when connecting to the CPM using SSH, add the following line to /etc/ssh/sshd_config
The file /etc/issue
contains a generic banner. This file is specific to console access.
For ssh, the file “sshd_config” should be updated in a couple of different places, for this to be persistent with reboots.
3. Then “sshd” process needs to be restarted for it to take effect using the command (while in unix shell on CPM):
service sshd restart