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

April 11, 2015 1k views
Linux Commands Linux Basics Ubuntu

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' 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.

2 Answers

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

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 ...


Have another answer? Share your knowledge.