funtoo / keychain

keychain ssh-agent front-end
http://www.funtoo.org
GNU General Public License v2.0
750 stars 104 forks source link

keychain respawning ssh-agent when it doesn't need to #101

Open stsquad opened 6 years ago

stsquad commented 6 years ago

I'm not sure if this is a bug or just my misunderstanding of the options. If I execute:

keychain -q --noask --noinherit --agents ssh --eval

Keychain ends up spawning a new ssh-agent when there is already one there. Although I've specified --noinherit to avoid it grabbing whatever is in the environment I understand it should use the current keychain managed ssh-agent.

Setting -Q avoids this problem but AIUI that won't spawn ssh-agent if there isn't one running.

mrl5 commented 2 years ago

hello @stsquad - if you'd like to report a bug kindly use https://bugs.funtoo.org/

you can also reach us on Discord - for more info check https://www.funtoo.org/Welcome