1
I am using the keychain
ssh-agent wrapper from funtoo.org.
I have it loaded automatically by adding an eval
line in my .profile
. E.g.:
eval `keychain --eval id_rsa github bitbucket`
Sometimes, I log into the login shell for the first time (e.g. after a reboot) and don't want to be bothered with typing the passphrases to add the keys to ssh-agent right away because I'm lazy and I know I won't be using SSH during that session.
If I press Ctrl-C, keychain and the whole rest of the .profile is skipped.
Is there a built-in way to skip keychain without skipping the rest of .profile?
My shell is Bash, by the way.