[mosh-users] How can I mosh over multiple hops (for example, via tunnel or ProxyCommand)?

David Seaward dseaward925 at gmail.com
Mon Mar 31 04:11:21 EDT 2014


Hi Vincent and Mark,

Thanks for your feedback, it was very helpful. I will look into an SSH
intermediary (mosh-client > mosh-server > ssh > endpoint) as a
solution.

My primary motivation is the lag-friendly mosh interface, rather than
the connection per se, which makes me wonder if both the mosh client
and server could be on my local machine, which itself makes the
tunneled/ProxyCommand ssh connection with a regular tunnel or similar.
The connection benefits are obviously lost, but I suspect even the
lag-friendly interface would be rendered useless. An experiment for
another day.

I have summarized your helpful responses as an answer to my SU
question. Thanks again!

David

On Fri, Mar 28, 2014 at 6:10 PM, Vincent Lefevre
<vincent-mosh at vinc17.net> wrote:
> On 2014-03-28 17:08:00 +0200, David Seaward wrote:
>> Ah, this is more complicated than I thought :D
>>
>> I thought it was going to be one of:
>>
>> a) mosh-client - ssh - ssh - mosh-server
>>
>> ...where "ssh - ssh" may be some kind of transparent hop, or
>>
>> b) mosh-client - mosh-? - mosh-? - mosh-server
>>
>> ...with funky configuration on the hops.
>
> With stone (or similar UDP repeater), if I understand correctly,
> I was thinking of:
>
>   mosh-client - stone - mosh-server
>
> or
>
>   mosh-client - stone - stone - mosh-server
>
> for 2 gateways.
>
> --
> Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
> _______________________________________________
> mosh-users mailing list
> mosh-users at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-users



More information about the mosh-users mailing list