Protect SSH Logins with SSH & MOTD Banner Messages

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

22 Responses

  1. Ted McCormick says:

    is it possible to run a shell command from within the banner.txt or the issue.met files.
    ( i’d like to run the clear command after login)

    • Ravi Saive says:


      No, I don’t think so we can able to run any command or script via these files, these files are used to display a text once the user logged into the shell..

  2. Pulkit says:

    Hey, During login I am getting extra messages except what I have set in motd file. Hw to remove those info.

  3. Suppose, I have more than 100 Linux server in this case what should I have to do..? It’s very time consuming to set banner in all the servers.. Is there any another solution for same..?? Like I can set banner on one single server and It will show for all the servers.

  4. Guruswamy says:

    Thanks for sharing the knowledge. How to increase the Font size of the Welcome Message in the above example.

  5. yugansh says:

    i am getting a message after login (it is just a simple text no error or any thing) i can login only as guest not a root user and i want to remove that text please help

    • Ravi Saive says:

      Which error message you getting on the login screen? can you share the screen grab to get the idea..or else you can remove the text in motd file..

  6. Amir S says:

    10x very useful

Got something to say? Join the discussion.

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

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's