Mailing List Archive

[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@mindrot.org
ReportedBy: peter.chubb@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs