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 <jwe...@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 <jwe...@mit.edu>
>         MIT/IS&T/O&I  Server Operations
> _______________________________________________
> mosh-devel mailing list
> mosh-devel@mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>
_______________________________________________
mosh-devel mailing list
mosh-devel@mit.edu
http://mailman.mit.edu/mailman/listinfo/mosh-devel

Reply via email to