Creating a Welcome message for SSH logins

Did you ever want to change or create a new login message anytime someone logs into SSH? We'll show you how it's done.

Firstly, off login to our server as root. Then type in the following:
pico /etc/motd

Now type in the security login message you wish all users to see once they login to your server through SSH.
Try starting with something like this:

This computer system is for authorised users only. All activity is logged and regulary checked by systems personal. Individuals using this system without authority or in excess of their authority are subject to having all their services revoked. Any illegal services run by user or attempts to take down this server or its services will be reported to local law enforcement, and said user will be punished to the full extent of the law. Anyone using this system consents to these terms.

Now type Ctrl+X then hit Y and enter

Logout of SSH then log back in, you will receive your new greeting!

  • Email, SSL
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to install eAccelerator

Eaccelerator is a PHP accelerator/encoder/caching utility that is based off on the old mmcache...

Common SSH Commands - Linux Shell Commands

Navigating in UNIX pwd Shows the full path of the current directory ls Lists all...

Howto Upgrade perl

Run the following command. cd /usr/local/src ; wget...

How to install ImageMagic

cd /usr/local/src wget http://oratoronline.com/how2/ImageMagick/ImageMagick-6.4.2-3.tar.gz (NOTE:...

Howto Install FLv2Tool

yum install ruby* wget...