modify welcome message centos

If you are a VPS or Dedicated server user, you can set or change the Welcome message.

The welcome message is stored in /etc/motd folder. There is generally no actual command to change or modify. So, you have to change it manually.

Step-1: Login to your Linux server as root.

Step-2: Now we use vi command to edit the motd file. Enter the command below and hit enter.

vi /etc/motd

Now you can edit or remove the welcome message of your Linux server. Press i key to insert mode and edit.

Step-3: After editing, Press ESC to revert back to command mode. Now type :wq and press enter to save the file!

Finally restart the SSH terminal.

service sshd restart