I bought a VPS server for my client but Every time I log in with SSH I see a welcome message from the company I buy the server from. This is obvious I don’t want to show the message to my client. So my question is how can I add my own welcome message or remove the existing one?
You are getting that message from the file below. Edit the file using vim
or vi
and add your desired message.
vi /etc/motd
If you want to disable the “Last login” message, edit the file below and Change the setting PrintLastLog
to "no"
.
vi /etc/ssh/sshd_config