bugzilla-daemon at bugzilla.mindrot.org
2011-Nov-01  00:08 UTC
[Bug 1948] New: ssh -f doesn't terminate when muxing connections.
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.
bugzilla-daemon at bugzilla.mindrot.org
2011-Dec-02  00:06 UTC
[Bug 1948] ssh -f doesn't terminate when muxing connections.
https://bugzilla.mindrot.org/show_bug.cgi?id=1948
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2101|                            |ok?(dtucker at zip.com.au)
              Flags|                            |
--- Comment #1 from Damien Miller <djm at mindrot.org> 2011-12-02 11:06:20
EST ---
Comment on attachment 2101
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2101
Obey -f even when a muxclient.
I think this looks okay. Darren?
-- 
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
2011-Dec-02  00:16 UTC
[Bug 1948] ssh -f doesn't terminate when muxing connections.
https://bugzilla.mindrot.org/show_bug.cgi?id=1948
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
             Blocks|                            |1930
-- 
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-Dec-02  00:23 UTC
[Bug 1948] ssh -f doesn't terminate when muxing connections.
https://bugzilla.mindrot.org/show_bug.cgi?id=1948
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2101|ok?(dtucker at zip.com.au)     |ok+
              Flags|                            |
-- 
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-Dec-02  00:42 UTC
[Bug 1948] ssh -f doesn't terminate when muxing connections.
https://bugzilla.mindrot.org/show_bug.cgi?id=1948
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
--- Comment #2 from Damien Miller <djm at mindrot.org> 2011-12-02 11:42:20
EST ---
Patch applied - this will be in the OpenSSH-6.0 release. Thanks!
-- 
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-Dec-04  23:17 UTC
[Bug 1948] ssh -f doesn't terminate when muxing connections.
https://bugzilla.mindrot.org/show_bug.cgi?id=1948
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
--- Comment #3 from Damien Miller <djm at mindrot.org> 2011-12-05 10:17:53
EST ---
Diff was reverted due to bad interaction with ControlPersist. The
daemon() is triggering in the user-facing process causing tty insanity.
-- 
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
2012-Feb-23  23:34 UTC
[Bug 1948] ssh -f doesn't terminate when muxing connections.
https://bugzilla.mindrot.org/show_bug.cgi?id=1948
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |1986
--- Comment #4 from Damien Miller <djm at mindrot.org> 2012-02-24 10:34:28
EST ---
Retarget from 6.0 to 6.1
-- 
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
2012-Feb-23  23:38 UTC
[Bug 1948] ssh -f doesn't terminate when muxing connections.
https://bugzilla.mindrot.org/show_bug.cgi?id=1948
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|1930                        |
--- Comment #5 from Damien Miller <djm at mindrot.org> 2012-02-24 10:38:07
EST ---
Retarget 6.0 => 6.1
-- 
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
- [Bug 1948] ssh -f doesn't terminate when muxing connections.
- [Bug 1948] ssh -f doesn't terminate when muxing connections.
- [Bug 1948] ssh -f doesn't terminate when muxing connections.
- [Bug 1948] ssh -f doesn't terminate when muxing connections.
- [Bug 1948] ssh -f doesn't terminate when muxing connections.