Add a message to users logging in via SSH

To add a custom message for users logging in via SSH you just need to make one small modification to the /etc/motd file

Go to
vi /etc/motd

and enter the message you want to, something like
With great power comes great responsibility. Fire commands wisely!

Voila. This is done. Any one logging in via ssh will get the message you have entered

Leave a Reply

Your email address will not be published. Required fields are marked *