[mosh-devel] mosh-server doesn't display (all of) the motd on Ubuntu Trusty machines

Keith Winstein keithw at mit.edu
Mon Sep 15 17:30:56 EDT 2014


Thanks, Jonathon. mosh-server just copied what OpenSSH sshd does. Do you
know how OpenSSH knows it's supposed to print /run/motd.dynamic? (Does
Ubuntu patch it? Is there some other location to look at?) If so, maybe we
should take the same patch for the Ubuntu packages of mosh.

Cheers,
Keith

On Mon, Sep 15, 2014 at 4:27 PM, Jonathon Weiss <jweiss at mit.edu> wrote:

>
> On Ubuntu (at least Trusty) machines the motd is split between
> /etc/motd and /run/motd.dynamic .  Note that Ubuntu Precise handles
> this differently and /etc/motd is a symlink to /var/run/motd .  So on
> Trusty machines where mosh-server prints /etc/motd, it misses all
> content in /run/motd.dynamic (on the athena dialups that is all motd
> content, as none of it is in /etc/motd .)  "man motd" on both Precise
> and Trusty contains some useful information.
>
>         Jonathon
>
>         Jonathon Weiss <jweiss at mit.edu>
>         MIT/IS&T/O&I  Server Operations
> _______________________________________________
> mosh-devel mailing list
> mosh-devel at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mosh-devel/attachments/20140915/5f6cfd86/attachment.html


More information about the mosh-devel mailing list