[Bug 1943] [PATCH] ssh -W opens two connections when ControlPersist is enabled.
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sat Jan 7 19:07:50 EST 2012
https://bugzilla.mindrot.org/show_bug.cgi?id=1943
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
simon-bz at exyr.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simon-bz at exyr.org
--- Comment #2 from Damien Miller <djm at mindrot.org> 2011-11-04 10:14:01 EST ---
patch applied - this will be in openssh-6.0. Thanks!
--- Comment #3 from simon-bz at exyr.org 2012-01-07 19:07:50 EST ---
A workaround for versions before 6.0: instead of
ssh -W %h:%p gateway
Use:
sh -c "ssh gateway true < /dev/null && ssh -W %h:%p gateway"
The first ssh call does not use -W so it is not affected by this bug.
It makes sure that the master process is running. The second call does
not need to fork a master so it is not affected either.
--
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.
More information about the openssh-bugs
mailing list