Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60699 - make keychain create ~/.keychain files from environment
Summary: make keychain create ~/.keychain files from environment
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Keychain Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 11:40 UTC by Elan Ruusamäe
Modified: 2005-01-07 18:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2004-08-17 11:40:35 UTC
i log in to system with ssh agent forwarding turned on.
now i have 'ssh-add -l' working with keys from remote machine (from where i logged in).
now there could be option to keychain to create login script based on active enviroinment (keychain --export-keys perhaps), so after creating new terminals these use that forwarded keys, not starting new ssh-agent instance

it's just perhaps such line to keychain code:
$ env | grep SSH_AUTH_SOCK | xargs -r echo export > ~/.keychain/`hostname -s`-sh



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2005-01-07 18:11:42 UTC
keychain 2.5.0 now has full inheritance support.  For what you're asking, you should use "keychain --inherit any".  If you only want it to happen if there's not already a working keychain agent, then use "keychain --inherit any-once"