Ammending the Ubuntu SSH Console message

Was playing around with my Virtual machines this evening as I am trying to create a stable build to put on the Offical BNA Systems web servers. One of the most annoying things is once you have OpenSSH installed you get the annoying default Ubuntu disclaimer etc.

 Anyways, After looking around on the net I found where the message is stored and then ammened the message using VIM with the following commnad:-

vi /etc/motd

You can also change the text that is displayed above the username and password text in the console, this can be done by editing the ‘issue’ file using the following command:-

vi /etc/issue 

You obviously need to save the changes back and then restart the SSH Daemon using this command:-

/etc/init.d/ssh restart

and that it! See what happens 🙂