Need help with keychain setup
Hi, I have setup keychain the way it is explained in the man page. So I added: keychain id_rsa [[ -f $HOME/.keychain/$HOSTNAME-sh ]] && \ source $HOME/.keychain/$HOSTNAME-sh [[ -f $HOME/.keychain/$HOSTNAME-sh-gpg ]] && \ source $HOME/.keychain/$HOSTNAME-sh-gpg to my ~/.bash_profile file When I log into KDE I receive the asked password window correct and can enter the passphrase for id_rsa. But when I then try to login from a shell to the remote computer which key got added to ssh-agent, I am getting asked again for the passphrase. On another computer I have setup keychain by adding the above configuration lines to ~/.bashrc, but according to the man page that does not seem to be the correct way. At least there it works and I can login from each shell to the remote computer without having to enter the passphrase. Do I misunderstand the function that I should get by adding the above configuration to bash_profile? What is the correct way to set it up so that every shell will consult ssh-agent for the passphrase? Thanks for any help. Cheers, Guenter
participants (1)
-
Günter Dannoritzer