How to restore the DigitalOcean MOTD?

I backed up /etc/bash.bashrc and made some changes to it, then I decided to revert to my backup version. For some reason now the default DigitalOcean MOTD no longer appears when I login. I always liked that message and want to restore it but I’m not sure where to begin. Since the original /etc/bash.bashrc is back in place, I don’t know what could be different.

It looks like all the original scripts are still in place in /etc/update-motd.d/, I just don’t know the proper way to run them at login.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, @insanityfarm

I believe this question was already asked in our community and you can check the other question using this link -


Is the MOTD displayed when you log in through the remote console? Make sure that your sshd config allows the MOTD to be shown on login:

UsePAM yes
PrintMotd no

Don’t forget to restart the ssh server/daemon after modifying the config file:

sudo service ssh restart


Regards, Alex