bugzilla-daemon at bugzilla.mindrot.org
2019-Feb-05 21:46 UTC
[Bug 2964] New: OpenSSH for Windows often hangs if no data sent over the connection
https://bugzilla.mindrot.org/show_bug.cgi?id=2964
Bug ID: 2964
Summary: OpenSSH for Windows often hangs if no data sent over
the connection
Product: Portable OpenSSH
Version: 7.9p1
Hardware: Other
OS: Windows 10
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: leese at google.com
This was reproduced on both 7.7p1 and 7.9p1, while ssh-ing from a
Windows machine to a Linux machine. For a simple repro I'm using the
bash commands `echo ""` (should output a single newline) and `echo -n
""` (should output nothing and immediately exit successfully; I've
also
used /bin/true which is equivalent.)
> ssh user at host -- echo ""
Reliably returns right away as expected.
> ssh user at host -tt -- echo ""
Reliably returns right away as expected.
> ssh user at host -- echo -n ""
Seems to hang, but if you press a key it returns.
> ssh user at host -tt -- echo -n ""
Sometimes it works, sometimes it hangs. When it hangs it will be
unresponsive to input, including ^C. You need to kill it in task
manager. A wireshark trace shows that the server sent the TCP FIN
packet, but the client is still holding open the connection.
> ssh user at host -tt -v -- echo -n ""
Turning on verbose output seems to make it work reliably.
Not sure to what extent network latency affects this but my ping time
is 11ms.
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Feb-06 09:24 UTC
[Bug 2964] OpenSSH for Windows often hangs if no data sent over the connection
https://bugzilla.mindrot.org/show_bug.cgi?id=2964
Jakub Jelen <jjelen at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jjelen at redhat.com
--- Comment #1 from Jakub Jelen <jjelen at redhat.com> ---
This could be related to the bug #2071 which is there for ages and has
similar symptoms also on Linux platforms. You can try the patch I
proposed there few years back if it solves also your problem.
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Feb-08 03:56 UTC
[Bug 2964] OpenSSH for Windows often hangs if no data sent over the connection
https://bugzilla.mindrot.org/show_bug.cgi?id=2964
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
What client are you using? Are you using the Microsoft ssh client or
the Cygwin one?
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Feb-08 16:42 UTC
[Bug 2964] OpenSSH for Windows often hangs if no data sent over the connection
https://bugzilla.mindrot.org/show_bug.cgi?id=2964 --- Comment #3 from leese at google.com --- I'm using the Microsoft client. I filed a bug with them: https://github.com/PowerShell/Win32-OpenSSH/issues/1338 -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Feb-22 03:23 UTC
[Bug 2964] OpenSSH for Windows often hangs if no data sent over the connection
https://bugzilla.mindrot.org/show_bug.cgi?id=2964
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.