[mosh-devel] Fwd: Mosh for PC to remote raspberry Pi

Kris Mclean kris at mcleanautomation.com.au
Thu Sep 3 23:56:20 EDT 2015


Well reply all is not an option on gmail here Keith but I can forward to
the devel address. I'm actually pretty sure the problem is at the PC end
not the PI. Chrome Mosh on the PC is trying to use SSH to find the PI & SSH
can't find it on a 3G connection.

---------- Forwarded message ----------
From: Keith Winstein <keithw at cs.stanford.edu>
Date: Fri, Sep 4, 2015 at 1:43 PM
Subject: Re: [mosh-devel] Mosh for PC to remote raspberry Pi
To: Kris Mclean <kris at mcleanautomation.com.au>


Please use "reply all" on my email so that your reply goes to the mailing
list, mosh-devel at mit.edu.

On Thu, Sep 3, 2015 at 8:41 PM, Kris Mclean <kris at mcleanautomation.com.au>
wrote:

> Sorry, what does 'reply to the list' mean exactly?
>
> On Fri, Sep 4, 2015 at 1:39 PM, Keith Winstein <keithw at cs.stanford.edu>
> wrote:
>
>> Hello,
>>
>> Could you please reply to the list? Others are probably more familiar
>> with the RPi than me.
>>
>> Thanks,
>> Keith
>>
>> On Thu, Sep 3, 2015 at 8:38 PM, Kris Mclean <kris at mcleanautomation.com.au
>> > wrote:
>>
>>> I was trying the 'connecting manually' paragraph at
>>> https://github.com/rpwoodbu/mosh-chrome/wiki/Documentation because the
>>> SSH option on Chrome mosh wasn't finding the PI. Now that I have the space
>>> inserted mosh-server on the Pi gives me a UDP port & key but I can't type
>>> the key in quick enough on the PC before mosh-server detaches itself on the
>>> PI. I guess it's not working because the Chrome SecureShell SSH can't find
>>> the PI on 3G, only when it's on the local home WiFi?
>>>
>>> On Fri, Sep 4, 2015 at 1:14 PM, Keith Winstein <keithw at cs.stanford.edu>
>>> wrote:
>>>
>>>> Hello Kris,
>>>>
>>>> Could you point me to the instructions you're following?
>>>>
>>>> The typical use of Mosh just involves typing "mosh <name-of-server>" on
>>>> the client, or typing the name of server into the Mosh Chrome app. It
>>>> doesn't involve running anything on the server (other than installing mosh
>>>> in the first place).
>>>>
>>>> For debugging purposes, it is possible to run the "mosh-server" and
>>>> "mosh-client" programs separately (as described on http://mosh.mit.edu),
>>>> but in normal use you would just run "mosh," or the Chrome app, on the
>>>> client, and it takes care of starting the server. (Just like with SSH, how
>>>> you might run "ssh server" on the client.)
>>>>
>>>> If you do want to run mosh-server separately, the command is
>>>> "mosh-server" with a dash in the middle.
>>>>
>>>> -Keith
>>>>
>>>> On Thu, Sep 3, 2015 at 8:04 PM, Kris Mclean <
>>>> kris at mcleanautomation.com.au> wrote:
>>>>
>>>>> We normally SSH from a PC (using the Chrome browser SecureShell app)
>>>>> into a Rpi via wifi on a home network. Recently we got the Pi working on a
>>>>> 3G dongle & noticed that SSH to the Pi (now outside the home network) no
>>>>> longer worked.
>>>>>
>>>>> We installed mosh for chrome on the PC & mosh for Debian on the PI.
>>>>> The instructions said to run mosh server on the Pi to get a key, IP etc for
>>>>> the form the Chrome mosh wants filled in. But mosh server on the Pi
>>>>> responds with;
>>>>> /usr/bin/mosh: Could not resolve hostname server
>>>>> ssh_exchange_indentification: Connection closed by remote host
>>>>> /usr/bin/mosh: Did not find remote IP address (is SSH ProxyCommand
>>>>> disabled?)
>>>>>
>>>>> The Pi definitely has a connection;
>>>>>
>>>>> ppp0      Link encap:Point-to-Point Protocol
>>>>>          inet addr:10.178.192.20  P-t-P:10.64.64.64
>>>>>  Mask:255.255.255.255
>>>>>          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>>>>>          RX packets:574 errors:78 dropped:0 overruns:0 frame:0
>>>>>          TX packets:552 errors:0 dropped:0 overruns:0 carrier:0
>>>>>          collisions:0 txqueuelen:3
>>>>>          RX bytes:128723 (125.7 KiB)  TX bytes:277499 (270.9 KiB)
>>>>> and ping google.com works. So just wondering what we could try next?
>>>>> Rgds. Kris Mc(mcleanautomation.com.au)
>>>>>
>>>>> _______________________________________________
>>>>> mosh-devel mailing list
>>>>> mosh-devel at mit.edu
>>>>> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Kris Mc(mcleanautomation.com.au)
>>>
>>
>>
>
>
> --
> Kris Mc(mcleanautomation.com.au)
>




-- 
Kris Mc(mcleanautomation.com.au)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mosh-devel/attachments/20150903/aafae8fc/attachment.html


More information about the mosh-devel mailing list