DescriptionDon't start a new ssh-agent unless needed.
If quickstart creates its own ssh-agent it renders a previously running one
unusable. Keys that were already added must be added again. And, when the
quikstart process dies, the environment variables it had set up as required by
ssh-agent are not available to the parent shell, so that agent effectively
becomes a zombie.
Instead, check for the existence of a running agent before spinning up a new
one. If none exists, then launch a new one and then check again to ensure it
is running.
https://code.launchpad.net/~bac/juju-quickstart/ssh-agent/+merge/204348
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Don't start a new ssh-agent unless needed. #
MessagesTotal messages: 2
|
||||||||||||||||||||||||||||||||||||||||||||||