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.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

23 Responses

  1. Denis Howe says:

    If your idea of securing a system is displaying login messages, you need help. No unauthorized user is going to give a respect about your message and you’re just going to annoy legitimate users, especially when executing remote commands.

  2. 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..

  3. Pulkit says:

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

  4. 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.

  5. Guruswamy says:

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

  6. 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..

  7. 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 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?