-2

I want to change the opening page when I connecting using ssh this is what I have now :

Welcome to Ubuntu 15.10 (GNU/Linux 4.2.0-42-generic x86_64)

Last login: Tue Nov 29 13:43:00 2016 from 10.0.0.123

where do I change it someone wrote to change /etc/motd but I don't this file so waht do I need to change?

Thanks ,

1 Answers1

1

The Welcome message you see is called Message Of The Day generated by update-motd package.

Install the package update-motd by:

$ sudo apt-get install update-motd

Now go to /etc/update-motd.d/.
You'll find some scripts like 00-header, 99-footer etc.
Modify these files as per your required message and restart the ssh server by:

$ sudo service ssh restart

Now try to ssh into you machine.

HungryFoolish
  • 729
  • 7
  • 17