[mosh-devel] mosh bug

Allan Clark chickenandporn at gmail.com
Sat Aug 1 17:14:28 EDT 2015



> On Aug 1, 2015, at 13:06, Richard H. McCullough <rhm at pioneerca.com> wrote:
> 
> 1) I installed Cygwin mosh on Windows 8.1 Pro and Windows 10 Pro
>      I installed Homebrew  mosh on iMac OSX 10.10.4
> 
> 2) From Win8.1 and Win10 Cygwin
>        ssh rhmimac       succeeds
>        mosh rhmimac   fails

Can you include a traceroute in both directions without DNS lookup?

This is a TCP connection setting up a UDP in reverse, some more knowledgable readers may offer other insight but I figured I'd see if you could confirm routing and non-NAT.

Is there a NAT or other munging gateway involved?

> copy/paste from Win10 Cygwin terminal screen:
> 
> rhm at lenovo7
> $ ssh rhmimac
> Warning: Permanently added the RSA host key for IP address '192.168.1.71' to the list of known hosts.
> Password:
> Last login: Sat Aug 1 12:24:27 2015 from levono7
> rhmimac:~ rhm$ pwd
> /Users/rhm
> rhmimac:~ rhm$ lf
> Applications/ Norton Zone/ brew.install.bison input.log share/
> Applications (Parallels)/ OLDbin/ brew.install.gtk-doc junk/ software/
> Desktop/ OLDunicon/ cyc/ lib/ src/
> Documents/ OneDrive/ db/ mKE 4-20-14, 4.32 AM.xcarchive/ sumo/
> Downloads/ Pictures/ family/ mac/ temp/
> Dropbox/ Public/ get-pip.py mactest/ test/
> Google Drive/ Snap2.jpg github/ mke.log toc.html
> KE/ Snap3.jpg gtest/ newtest/
> Library/ UNICON.3833/ include/ none.log
> Movies/ brew.config index.htm python/
> Music/ brew.doctor info/ rcyc/
> rhmimac:~ rhm$ which mosh
> /usr/local/bin/mosh
> rhmimac:~ rhm$ which mosh-server
> /usr/local/bin/mosh-server
> rhmimac:~ rhm$ exit;
> logout
> Connection to rhmimac closed.
> 
> 
> rhm at levono7 ~
> $ mosh rhmimac
> Password:
> bash: mosh-server: command not found
> Connection to rhmimac closed.

Out of curiosity, what is the failure message if on lenovo7, you do exactly this:

ssh rhm at rhmimac "mosh-server"

I'm curious if the PATH isn't being set or other errors might be happening

Note: not looking for a login, then typing the command, but all in one line.  Also, it will fail because there's no other command line option, but the failure message may leak value.

Also: thee may be an option to specify the full path to mosh-server if the env differs.

> /usr/bin/mosh: Did not find mosh server startup message.
> rhm at levono7 ~
> 
> 3) from iMac OS X 10.10.4
>      ssh lenovo7        fails
>      mosh lenovo7   fails
> 
> error messages from iMac OS X 10.10.4 terminal screen:
> 
> rhmimac:~ rhm$ ssh lenovo7
> ssh: Could not resolve hostname lenovo7: nodename nor servname provided, or not known

This looks like a DNS issue.

Please lookup the host "lenovo7". Maybe even pinging by name

- Allan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mosh-devel/attachments/20150801/3ea2bbc5/attachment.html


More information about the mosh-devel mailing list