Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tigerinus opened this issue Mar 3, 2023 · 1 comment
Open

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

tigerinus opened this issue Mar 3, 2023 · 1 comment
Labels

Comments

@tigerinus
Copy link

tigerinus commented Mar 3, 2023

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!

@achernya
Copy link
Collaborator

achernya commented Mar 3, 2023

Based on the error

CreateProcessW failed error:2
posix_spawnp: No such file or directory

The mosh perl script was not able to spawn ssh. More concerningly, the mosh-server was not able to start, due to setsockopt issues.

I am not aware of anyone getting mosh to work under msys. I don't think it's supported. I recommend using WSL instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants