[mosh-devel] tried really hard...

Keith Winstein keithw at MIT.EDU
Wed Sep 5 01:17:11 EDT 2012

Hello Albert,

How did you install the mosh-server binary on the server, and where did 
you put it?

Try running "mosh [servername] --server=/full/path/to/mosh-server", 
replacing the pathname with the actual path to the mosh-server.

To work by default, the mosh-server needs to be in your PATH when you 
remotely execute a command by ssh. Try running:

$ ssh [servername] 'echo $PATH'

If this doesn't contain the directory that holds your mosh-server, there's 
your problem.

Please note that we have a binary package on our site 
(http://mosh.mit.edu) which installs mosh-client and mosh-server into 
/usr/bin. You might try this instead of trying to compile it yourself into 

Best regards,

On Wed, 5 Sep 2012, Albert J. Menkveld wrote:

> Hi there,
> I really like the philosophy of your project.  And, got really excited
> about its power.
> However, after spending 3 hours on trying to get it to work and make
> two Macs (Mountain Lion) machines talk (client and server) I finally
> gave up.  ssh works fine.
> I kept getting:
> bash: mosh-server: command not found
> Connection to host closed
> /usr/local/bin/mosh: Did not find mosh server startup message.
> And, followed all discussion and suggestions on your webpage and at
> various google pointers.  The LANG issue is not its cause as locale on
> both computers show "en_US.UTF-8" and trying to run with a --server
> addition just gives me the attached screen.
> Alas, I wish I could use the product.  :-(.
> Cheers, Albert
> -- 
> Albert J. Menkveld
> VU University Amsterdam
> contact details:
> http://www.albertjmenkveld.org/contact.html

More information about the mosh-devel mailing list