Question

How to display Message of The Day (motd) from the command line?

Hi there, I find the MOTD details that come up at SSH login quite handy when dealing with multiple droplets.

I’ve just switched to using Cyberduck as my ssh client on the mac and when I launch a terminal window from it, I don’t get the MOTD.

Is there a way to reinvoke the MOTD script from the cli?

NB: It still comes up if I use the standard ‘ssh root@xxx.xxx.xxx.xxx’ command from a natively launched terminal window, so I assume Cynberduck is either not invoking the MOTD script or ignoring the results at login.

Thanks in advance.


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.

Hi there, thanks for the suggestion. iTerm2 looks great but the key (no pun intended) thing with Cyberduck was the ability to set up mutiple profiles using different SSH keys so I didn’t have to swap out/in the different key’s I’d generated for the different servers. The other feature was theres also a Windows client which is important for me.

However, since posing my question, I downloaded a trial version of Coda which also has an SSH client and allows you to access different sites with different keys. Funny thing was … when I logged into the droplmet using Coda I got the MOTD!

This leads me to believe the there might be a setting in Cd that might be supressing the MOTD after sucessful login. I’ve deteerming that Cd invokes the native OSX terminal app …

Cheers

Cyberduck is primarily a SFTP client, not a SSH client. I recommend you use iTerm 2 instead.