Your intuition about the lag-friendly interface being rendered useless is correct. It is critical for the client and server to be on opposite sides of the source of lag. Otherwise you get really bizarre effects, like predictive text getting erased and then redrawn in a flash.<br>
<div><br></div><div>I&#39;ve been contemplating a Mosh Relay that uses a basic NAT traversal technique, so it can run on any machine with public Internet access and doesn&#39;t require any special network configuration. I have a proof-of-concept working. If there&#39;s sufficient interest, I may flesh it out.</div>
<div><br></div><div>Richie</div><br><div>On Mon Mar 31 2014 at 4:12:42 AM, David Seaward &lt;<a href="mailto:dseaward925@gmail.com">dseaward925@gmail.com</a>&gt; wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Vincent and Mark,<br>
<br>
Thanks for your feedback, it was very helpful. I will look into an SSH<br>
intermediary (mosh-client &gt; mosh-server &gt; ssh &gt; endpoint) as a<br>
solution.<br>
<br>
My primary motivation is the lag-friendly mosh interface, rather than<br>
the connection per se, which makes me wonder if both the mosh client<br>
and server could be on my local machine, which itself makes the<br>
tunneled/ProxyCommand ssh connection with a regular tunnel or similar.<br>
The connection benefits are obviously lost, but I suspect even the<br>
lag-friendly interface would be rendered useless. An experiment for<br>
another day.<br>
<br>
I have summarized your helpful responses as an answer to my SU<br>
question. Thanks again!<br>
<br>
David<br>
<br>
On Fri, Mar 28, 2014 at 6:10 PM, Vincent Lefevre<br>
&lt;<a href="mailto:vincent-mosh@vinc17.net" target="_blank">vincent-mosh@vinc17.net</a>&gt; wrote:<br>
&gt; On 2014-03-28 17:08:00 +0200, David Seaward wrote:<br>
&gt;&gt; Ah, this is more complicated than I thought :D<br>
&gt;&gt;<br>
&gt;&gt; I thought it was going to be one of:<br>
&gt;&gt;<br>
&gt;&gt; a) mosh-client - ssh - ssh - mosh-server<br>
&gt;&gt;<br>
&gt;&gt; ...where &quot;ssh - ssh&quot; may be some kind of transparent hop, or<br>
&gt;&gt;<br>
&gt;&gt; b) mosh-client - mosh-? - mosh-? - mosh-server<br>
&gt;&gt;<br>
&gt;&gt; ...with funky configuration on the hops.<br>
&gt;<br>
&gt; With stone (or similar UDP repeater), if I understand correctly,<br>
&gt; I was thinking of:<br>
&gt;<br>
&gt;   mosh-client - stone - mosh-server<br>
&gt;<br>
&gt; or<br>
&gt;<br>
&gt;   mosh-client - stone - stone - mosh-server<br>
&gt;<br>
&gt; for 2 gateways.<br>
&gt;<br>
&gt; --<br>
&gt; Vincent Lefèvre &lt;<a href="mailto:vincent@vinc17.net" target="_blank">vincent@vinc17.net</a>&gt; - Web: &lt;<a href="https://www.vinc17.net/" target="_blank">https://www.vinc17.net/</a>&gt;<br>
&gt; 100% accessible validated (X)HTML - Blog: &lt;<a href="https://www.vinc17.net/blog/" target="_blank">https://www.vinc17.net/blog/</a>&gt;<br>
&gt; Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)<br>
&gt; ______________________________<u></u>_________________<br>
&gt; mosh-users mailing list<br>
&gt; <a href="mailto:mosh-users@mit.edu" target="_blank">mosh-users@mit.edu</a><br>
&gt; <a href="http://mailman.mit.edu/mailman/listinfo/mosh-users" target="_blank">http://mailman.mit.edu/<u></u>mailman/listinfo/mosh-users</a><br>
<br>
______________________________<u></u>_________________<br>
mosh-users mailing list<br>
<a href="mailto:mosh-users@mit.edu" target="_blank">mosh-users@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/mosh-users" target="_blank">http://mailman.mit.edu/<u></u>mailman/listinfo/mosh-users</a><br>
</blockquote>