Before digging into the core changes you need to do to achieve this task, I will just introduce SSH to those users who are unfamiliar with the term.
What is SSH?
SSH stands for “Secure Shell“. SSH commonly uses port 22 to connect your computer to another computer on the Internet. It is most often used by network administrators as a remote login / remote control way to manage their business servers. SSL and SSH lock out eavesdroppers by encrypting (ciphering) the connection, and scrambling the transmitted data so it is meaningless to anyone outside of the two computers. Both ends of the client/server connection are authenticated using a digital certificate, and passwords are protected by being encrypted. SSH uses RSA public key cryptography for both connection and authentication. Encryption algorithms include Blowfish, DES, and IDEA. IDEA is the default.
Customizing Welcome Message on SSH Login:
When you log-in via secure shell, you are generally greeted by a system message like this:
Welcome to Ubuntu XX
packages can be updated.
updates are security updates.
to upgrade to it.
Last login: Sun Apr 211
You can edit the contents of the header file to update the initial message and so on the rest of the part of the message goes. After updating the files, on some systems it is required to restart SSH service so, you can restart the service by running the below command:
sudo service ssh restart
sudo /etc/init.d/ssh restart“