[Bug 2437] ssh with ControlMaster and ControlPath hangs on 2nd session in same terminal

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed May 14 04:52:08 AEST 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=2437

--- Comment #3 from Nikola <zlatistiv at gmail.com> ---
Attached patch "fixes" it by dropping the client to a normal connection
if it connects from the same terminal.

I suppose there is no other way since the master being in the
background will always get a SIGTTIN/OU when it tries to read from the
terminal of the client (which is also its own terminal).

The attachment causes regression in connection-timeout.sh which I'm yet
to figure out why.

-- 
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.


More information about the openssh-bugs mailing list