Select Page

How to change the welcome message after SSH login

  1. Login as root via SSH
  2. Add a message to /etc/motd using vim eg.
    vim /etc/motd
  3. Add your message to this file eg.
    ###Please think before you type###
  4. Logout
  5. Login via SSH and then after successful login the message will appear

Last Updated On April 07, 2018

Leave a reply

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.