Enable Pre-login Warning Message on Linux Server

Enable Pre-Login Message

Should you wish to display a warning message at the SSH prompt of your server, follow these instructions:

Login to your server:

sudo vi /etc/ssh/sshd_config

uncommment this line
#Banner /etc/issue.net

add this line to end of file
AllowUsers username

sudo vi /etc/issue.net

enter your warning message. re:

————-
W A R N I N G
————-
THIS IS A PRIVATE COMPUTER SYSTEM.