[Bug 1758] New: client hangs when closing a multiplexed session with \n~.

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Apr 16 19:35:26 EST 2010


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.


More information about the openssh-bugs mailing list