You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~ ❯ 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
tigerinus
changed the title
mosh: does not connnect / mosh-server does not initiate
mosh: does not connnect / mosh-server does not initiate with OpenSSH-Win32 as the default sshMar 4, 2023
I can reproduce the mosh-server issue. I can not figure out the relation between mosh and ssh and not sure about the mosh localhost issue. But the following commands work
$ mosh localhost
/usr/bin/mosh: Could not connect to localhost, last tried ::1: Connection refused
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
/usr/bin/mosh: Did not find remote IP address (is SSH ProxyCommand disabled?).
The /usr/bin/mosh is a perl script. I am not familiar with the perl language.
Description / Steps to reproduce the issue
Follow https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse to add and run OpenSSH to Windows, or install OpenSSH-Win32 via
winget
:~ ❯ winget install Microsoft.OpenSSH.Beta
Make sure
sshd
is working:Install
mosh
~ ❯ pacman -S mosh
Run
Expected behavior
It should just work
Actual behavior
Verification
Windows Version
MSYS_NT-10.0-19045 powerberry 3.4.6.x86_64 2023-02-15 18:03 UTC x86_64 Msys
Are you willing to submit a PR?
If someone tells me how to fix this.
The text was updated successfully, but these errors were encountered: