mobile-shell / mobile-shell/mosh

[MSYS2] mosh does not connnect / mosh-server does not initiate

Open
#1,259 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

support
Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

Freshly installed mosh package under MSYS2. However things don't seem to put together.

~ ❯ mosh localhost
CreateProcessW failed error:2
posix_spawnp: No such file or directory
/usr/bin/mosh: Did not find remote IP address (is SSH ProxyCommand disabled?).

~ ❯ mosh-server.exe new
Error binding to any interface: setsockopt: Invalid argument
Network exception: setsockopt: Invalid argument

image

I can verify that SSH works fine on localhost:

image

Is there any information else I should provide to help diagnose?

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing mosh localhost and mosh-server.exe new in the reported MSYS2 environment, then compare the working localhost SSH setup. Trace the client executable lookup and server interface binding from these entry points. Done means both commands work under MSYS2 without the reported process, IP, or setsockopt errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.