Creating a Welcome message for SSH logins

Creating a Welcome message for SSH logins

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

First 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 something like this as a start:

This computer system is for authorized 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!

    • Related Articles

    • Common SSH Commands - Linux Shell Commands

      Navigating in UNIX pwd Shows the full path of the current directory ls Lists all the files in the current directory ls -al Lists all files and information ls –alR Lists all files and information in all subdirectories ls -alR | more Same as ls –alR, ...
    • How to find full message headers

      Find out how you can easily obtain full message headers from most popular mail services. In most cases, the steps for obtaining full message headers will be similar, but they may differ from one mail service to another: Log into your inbox account. ...
    • Email Error Message - 550 - mailbox not found

      SMTP reply messages error 550 is generally the most common. It comes with a side-message like: "550 error - Mailbox does not exist" or "Error 550 - Mailbox not Found" or "550 Requested action not taken: mailbox unavailable" or "550 5 2 1 mail from ...
    • Tips on Creating an Email Campaign or Template

      Some tips to help you create a great newsletter. Type your heading rather than copy and paste Copying directly from word will bring in Word's dirty HTML so you are better off either type in your content or you can copy & paste the content BUT paste ...
    • How to automate adding new contacts and campaigns

      Looking to gather new subscribers and automatically send emails to them? This guide shows you how to get this setup - start to finish. Collecting new subscribers is an important part of any marketing strategy. It can save you lots of time and energy ...