bugzilla-daemon at bugzilla.mindrot.org
2010-Apr-16 09:35 UTC
[Bug 1758] New: client hangs when closing a multiplexed session with \n~.
https://bugzilla.mindrot.org/show_bug.cgi?id=1758 Summary: client hangs when closing a multiplexed session with \n~. Product: Portable OpenSSH Version: 5.4p1 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: unassigned-bugs at mindrot.org ReportedBy: lhunath at gmail.com Initiate a ControlMaster session: ssh -M foo In a new terminal, start a new session that uses the ControlMaster connection: ssh foo Terminate the second by using the standard sequence "\n~.", the client will hang. It will still respond to signals, but cannot be terminated from its terminal. Eg. hitting ^C or ^Z has no effect (which, I recon, is not that surprizing as they don't affect the client process either while the connection is still active; they just get sent to the remote shell- that makes loosing the terminal no less annoying, though). The only way to escape this situation and regain control over the controlling terminal is by opening another and signaling the ssh client or terminating the ControlMaster connection. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Apr-17 07:02 UTC
[Bug 1758] client hangs when closing a multiplexed session with \n~.
https://bugzilla.mindrot.org/show_bug.cgi?id=1758 --- Comment #1 from Damien Miller <djm at mindrot.org> 2010-04-17 17:02:46 EST --- Created an attachment (id=1839) --> (https://bugzilla.mindrot.org/attachment.cgi?id=1839) send-close-on-mux-session-close.diff Unblock sending of SSH2_MSG_CHANNEL_CLOSE on mux sessions -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Apr-17 07:03 UTC
[Bug 1758] client hangs when closing a multiplexed session with \n~.
https://bugzilla.mindrot.org/show_bug.cgi?id=1758 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Blocks| |1708 --- Comment #2 from Damien Miller <djm at mindrot.org> 2010-04-17 17:03:26 EST --- I think this patch should fix it, but I need to test a few corner cases. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- 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
2010-Apr-23 22:28 UTC
[Bug 1758] client hangs when closing a multiplexed session with \n~.
https://bugzilla.mindrot.org/show_bug.cgi?id=1758 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Damien Miller <djm at mindrot.org> --- patch applied, this will be in OpenSSH-5.6. Thanks for the report. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- 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
2011-Jan-24 01:34 UTC
[Bug 1758] client hangs when closing a multiplexed session with \n~.
https://bugzilla.mindrot.org/show_bug.cgi?id=1758 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Damien Miller <djm at mindrot.org> 2011-01-24 12:34:06 EST --- Move resolved bugs to CLOSED after 5.7 release -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- 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.
Apparently Analagous Threads
- Regarding sshfs and multiplexed connections
- Port forwarding using the client of a multiplexed connection.
- [Bug 1517] New: ssh ControlMaster process is crashing frequently when multiplexing ssh and scp connections with error 'select: Invalid argument'
- [Bug 1557] New: ssh multiplexing does not fall back to new connection when server refuses muxd session
- X11 forwarding and session multiplexing