Custom message SSH amp MOTD Banner

by
Share this Article: Facebook0Google+0Twitter12LinkedIn1Reddit0StumbleUpon0

Is it possible to display a custom message at login?

The Answer is yes. To do that

Edit the file “/etc/issue.net“.

 sudo vi /etc/issue.net
Authorized access only!
All actions Will be monitored and recorded

Edit the file “/etc/ssh/sshd_config“.

Remove the # before “Banner /etc/issue.net”.

sudo service sshd restart …or… sudo /etc/init.d/sshd restart

Edit the file “/etc/motd

If you are not authorized to access or use this system, disconnect now!

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter12LinkedIn1Reddit0StumbleUpon0