[Bug 1948] New: ssh -f doesn't terminate when muxing connections.

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Nov 1 11:08:57 EST 2011


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

             Bug #: 1948
           Summary: ssh -f doesn't terminate when muxing connections.
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 5.9p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: peter.chubb at nicta.com.au


Created attachment 2101
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2101
Obey -f even when a muxclient.

To repeat:

Set up to use a master connection to some host.  I have

Host *
      ControlMaster auto
      ControlPath /tmp/%r@%h:%p

in ~/.ssh/config

Then do:

ssh -f -X somehost xterm
ssh -f -X somehost xterm


The first invocation establishes a connexion, and starts a terminal,
then exits.  The second acts as a mux client, starts a terminal, and
does not exit,

I've attached a patch to fix the problem.

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