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
[edit: more plausible strace interpretation]
The command loops on a poll() of (looks like) parent fd 0,7,8,9 and AF_VSOCK fd 4, maybe (?) doing some sort of keepalive exchange.
I suspect but can't prove the problem is related to Win32-OpenSSH aka OpenSSH in Windows and ConPTY. The problem does not manifest with a ssh localhost inside WSL, orssh from an external Linux box (say from a VM). This is blocking a generic resolution of question #4911.
The text was updated successfully, but these errors were encountered:
therealkenc
changed the title
interop hangs from sshd session initiated by Win32-OpenSSH client
interop hangs inside sshd session initiated by Win32-OpenSSH client
Feb 23, 2020
This is probably resolved with the 8.x builds of the Win32-OpenSSH client. On startup, in “inherit cursor” mode, ConPTY blocks until it receives a cursor location. Old versions of W32-OpenSSH implemented their own VT input stack that couldn’t send the cursor position escapes.
This does mean that any SSH client running in a terminal that doesn’t support the DEC cursor position report request will experience a similar failure.
ver
at a Windows Command Prompt)19569 WSL2
Start
sshd
in Ubuntu 18.04From a Windows CMD prompt,
ssh
into WSL and run a win32 command via WSL interop:The
cmd.exe /c echo
hangs and does not respond to Ctrl-C on the pty.wsl.exe --shutdown
orSIGINT
/SIGTERM
on the PID recovers.Here is the gist.
[edit: more plausible strace interpretation]
The command loops on a
poll()
of (looks like) parentfd 0,7,8,9
andAF_VSOCK fd 4
, maybe (?) doing some sort of keepalive exchange.I suspect but can't prove the problem is related to Win32-OpenSSH aka OpenSSH in Windows and ConPTY. The problem does not manifest with a
ssh localhost
inside WSL, orssh
from an external Linux box (say from a VM). This is blocking a generic resolution of question #4911.The text was updated successfully, but these errors were encountered: