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

Leave a Comment

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