How to Change SSH Login Message

Edit the /etc/ssh/sshd_config file.

$ sudo vim /etc/ssh/sshd_config

Uncomment or add the line Banner /etc/banner

Banner /etc/banner

/etc/banner is just a file name it can be anything.

Create the file /etc/banner

$ sudo vim /etc/banner

Add and save whatever message you want to display to the file /etc/banner

This is dev server for www.example.com
Document Root: /var/domain/www.example.com/

Restart the SSH service

$ sudo service sshd restart

That’s it, on next login attempt you will see the custom message.

9 Replies to “How to Change SSH Login Message”

  1. I have a lot of knowledge to get you and I also understand many things. guys I like to share with you what happened to me yesterday. I cooked it when I forgot I did not know it was burnt. I was so surprised when I saw what had happened to the rice. im so nervous. Ahahaha kindly visit us.

  2. congrats many likes in your blogs. I was really amazed as it was very good to read. and I want to share it with my friends knowing that they would love it too. and guys if you want more information you visit this site.thank you so much.please click this.

  3. Hello There. I found your blog using msn. This is an extremely well written article.I’ll be sure to bookmark it and come back to read more of your useful info.Thanks for the post. I will definitely return.

Leave a Reply

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