<div dir="ltr">Hello Kris,<div><br></div><div>Could you point me to the instructions you're following?</div><div><br></div><div>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).</div><div><br></div><div>For debugging purposes, it is possible to run the "mosh-server" and "mosh-client" programs separately (as described on <a href="http://mosh.mit.edu">http://mosh.mit.edu</a>), 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.)</div><div><br></div><div>If you do want to run mosh-server separately, the command is "mosh-server" with a dash in the middle.</div><div><br></div><div>-Keith</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 3, 2015 at 8:04 PM, Kris Mclean <span dir="ltr"><<a href="mailto:kris@mcleanautomation.com.au" target="_blank">kris@mcleanautomation.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<div><br></div><div>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;</div><div><span style="color:rgb(0,0,0);font-family:'Open Sans',Verdana,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.6000003814697px;background-color:rgb(204,201,197)">/usr/bin/mosh: Could not resolve hostname server</span><br style="color:rgb(0,0,0);font-family:'Open Sans',Verdana,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.6000003814697px;background-color:rgb(204,201,197)"><span style="color:rgb(0,0,0);font-family:'Open Sans',Verdana,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.6000003814697px;background-color:rgb(204,201,197)">ssh_exchange_indentification: Connection closed by remote host</span><br style="color:rgb(0,0,0);font-family:'Open Sans',Verdana,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.6000003814697px;background-color:rgb(204,201,197)"><span style="color:rgb(0,0,0);font-family:'Open Sans',Verdana,'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14.6000003814697px;background-color:rgb(204,201,197)">/usr/bin/mosh: Did not find remote IP address (is SSH ProxyCommand disabled?)</span><br clear="all"><div><br></div><div><div dir="ltr">The Pi definitely has a connection;</div><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap">ppp0 Link encap:Point-to-Point Protocol </span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> inet addr:10.178.192.20 P-t-P:10.64.64.64 Mask:255.255.255.255</span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1</span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> RX packets:574 errors:78 dropped:0 overruns:0 frame:0</span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> TX packets:552 errors:0 dropped:0 overruns:0 carrier:0</span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> collisions:0 txqueuelen:3 </span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:14.6666666666667px;font-family:'Times New Roman';color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"> RX bytes:128723 (125.7 KiB) TX bytes:277499 (270.9 KiB)</span></p></span><div dir="ltr">and ping <a href="http://google.com" target="_blank">google.com</a> works. So just wondering what we could try next? </div><div dir="ltr">Rgds. Kris Mc(<a href="http://mcleanautomation.com.au" target="_blank">mcleanautomation.com.au</a>)</div></div>
</div></div>
<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" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-devel</a><br>
<br></blockquote></div><br></div>