<div dir="ltr">Thanks, Jonathon. mosh-server just copied what OpenSSH sshd does. Do you know how OpenSSH knows it&#39;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.<div><br></div><div>Cheers,</div><div>Keith</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 4:27 PM, Jonathon Weiss <span dir="ltr">&lt;<a href="mailto:jweiss@mit.edu" target="_blank">jweiss@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Ubuntu (at least Trusty) machines the motd is split between<br>
/etc/motd and /run/motd.dynamic .  Note that Ubuntu Precise handles<br>
this differently and /etc/motd is a symlink to /var/run/motd .  So on<br>
Trusty machines where mosh-server prints /etc/motd, it misses all<br>
content in /run/motd.dynamic (on the athena dialups that is all motd<br>
content, as none of it is in /etc/motd .)  &quot;man motd&quot; on both Precise<br>
and Trusty contains some useful information.<br>
<br>
        Jonathon<br>
<br>
        Jonathon Weiss &lt;<a href="mailto:jweiss@mit.edu">jweiss@mit.edu</a>&gt;<br>
        MIT/IS&amp;T/O&amp;I  Server Operations<br>
_______________________________________________<br>
mosh-devel mailing list<br>
<a href="mailto:mosh-devel@mit.edu">mosh-devel@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/mosh-devel" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-devel</a><br>
</blockquote></div><br></div>