Protect SSH Logins with SSH & MOTD Banner Messages

Download all articles in PDF format with our TecMint Content Subscription and Linux Support Services starting at $10 per month.

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

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 95000+ Linux Users
  1. 77,543
  2. 4,213
  3. 35,218

Enter your email to get latest Linux Howto's