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

           Summary: openssh-client: recreate mux control socket
           Product: Portable OpenSSH
           Version: 5.3p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-b...@mindrot.org
        ReportedBy: bugzi...@tut.by


Created an attachment (id=1790)
 --> (https://bugzilla.mindrot.org/attachment.cgi?id=1790)
patch to re-create mux control socket

Hello.

This patch enables re-creation of the control socket for multiplexing.
Without it, if ssh dies, it leaves socket in place, and newly started
ssh cannot bind to it.

I've posted this at Debian bugtracker. Colin Watson suggested there:
===
It seems to me that this patch makes it a bit too easy to accidentally
trash an existing master just by setting ControlMaster to "yes",
though.
Wouldn't it be better to do something like pinging the master to find
out if it's dead before recreating the socket, and disable multiplexing
as before if it's still alive?  That way there'd be no question about
whether it's appropriate to recreate the socket.  You could do the same
kind of thing as 'ssh -O check' does.
===

It seems that ssh does muxclient() call before trying to create the new
socket, so this should not be issue, but please re-check this.

Thanks.

-- 
WBR, Andrew

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to