mobile-shell / mobile-shell/mosh
[MSYS2] mosh does not connnect / mosh-server does not initiate
Nobody has claimed this yet.
- 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

I can verify that SSH works fine on localhost:

Is there any information else I should provide to help diagnose?
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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