Report this

What is the reason for this report?

Enabling the welcome message when logging in via SSH

Posted on December 16, 2015

So when I first created my first droplet on Digital Ocean i had a pretty nice and useful message when logging in to my droplet, but meanwhile I messed something up and can’t find what I did and how to change it back as it was.

The image included show the new droplet I created moments ago, and on the right the old droplet I have. All those nifty information is gone on my old one and I have no idea how to get them back. If someone can help me I would really appreciate it!

SCREENSHOT



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It’s called MOTD (message of the day). It’s generated by update_motd by running all the scripts found on /etc/update-motd.d/.

I’m not familiar with how and when it runs, but apparently it might be invoked by a PAM module (pam_motd) by ssh after a successful login. Perhaps PAM is disabled on your sshd config?

I’m using mosh instead of ssh and apparently it doesn’t display motd either.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.