Thursday, November 21, 2013

Creating custom SSH welcome messages

Creating custom SSH welcome messages using motd (message of the day) to protect and secure SSH logins by displaying warming message to UN-authorized users or display welcome or informational messages to authorized users.

  • Login to your server as root via SSH. 
  • sudo vim /etc/motd 
  • Now type in the message you want everyone to see.
 ######### Welcome to the Vishal's server #########
 ###         This is the webServer                               ###
 ###########################################

Save and Quit,

Logout of SSH then log back in, you will receive your new greeting!
 
 
 
 
 
 
...EnJoY...
Vishal Vyas

No comments:

Post a Comment

How to Install docker-compose CentOS7

 Install Docker-compose on CentOs7 Linux. yum install -y epel-release yum install -y python-pip pip install --upgrade pip pip install ...