Protect SSH Logins with SSH & MOTD Banner Messages

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

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. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  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...

27 Responses

  1. Somesh says:

    how to create different login banners for different users on single server

  2. Ruchi says:

    In my office account I am getting messages like disk space, some other info related to the account. I checked in all files but i couldn’t find the path from where I am getting these massages.

  3. manifer khan says:

    Thanks very useful article…

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

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

  6. Pulkit says:

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

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

  8. Guruswamy says:

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

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

  10. Amir S says:

    10x very useful

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.