From Virtual-Weltanschauung-PmWiki

Main: Tidbits2

Creating custom SSH welcome messages

This is good if you enable ssh login to your users, you can place some text once they login.


1. Login to your server as root via SSH.

2. Type: vi /etc/motd

3. Now type in the message you want everyone to see. Something like this is good.

Vi "i" for insert mode escape for command, ":" then "w" then "q"
"Authorized Marx Brothers Only!!."

(The above is just sample text, you may create your own or use this!)

4. Save & Exit Vi Type: CTRL-X, Y, Enter

Retrieved from http://www.virtual-weltanschauung.com/pmwiki/pmwiki.php?n=Main.Tidbits2
Page last modified on April 27, 2006, at 06:09 PM