This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: keychain doesn't properly cache ssh key
René Berber wrote:
Keychain seems to be missing the equivalent of "eval `ssh-agent -s`" (if using
bash).
I use this bash function to start keychain to work around that issue.
function kc() {
#Keychain invocation
keychain ~/.ssh/id_rsa
if [ -e ~/.ssh-agent-`hostname` ] ; then
source ~/.ssh-agent-`hostname`
elif [ -e ~/.keychain/`hostname`-sh ] ; then
source ~/.keychain/`hostname`-sh
fi
}
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/