Created attachment 2101 [details] 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.
Comment on attachment 2101 [details] Obey -f even when a muxclient. I think this looks okay. Darren?
Patch applied - this will be in the OpenSSH-6.0 release. Thanks!
Diff was reverted due to bad interaction with ControlPersist. The daemon() is triggering in the user-facing process causing tty insanity.
Retarget from 6.0 to 6.1
Retarget 6.0 => 6.1
Retarget uncompleted bugs from 6.1 => 6.2
Retarget bugs from 6.1 => 6.2
retarget to openssh-6.3
Retarget to openssh-6.4
Retarget 6.3 -> 6.4
Retarget incomplete bugs / feature requests to 6.6 release
Retarget to 6.7 release, since 6.6 was mostly bugfixing.
Remove from 6.6 tracking bug
Retarget incomplete bugs to 6.8 release.
These bugs are no longer targeted at the imminent 6.7 release
OpenSSH 6.8 is approaching release and closed for major work. Retarget these bugs for the next release.
Retarget to 6.9
Created attachment 2645 [details] daemonise with when -f specified and not in ControlPersist mode Maybe something as simple as this?
detarget for 6.9, this needs more testing