In ~/.bashrc, add:
keychain id_rsa
. ~/.keychain/`uname -n`-sh
In the terminal:
source ~/.bashrc * keychain 2.8.2 ~ http://www.funtoo.org * Found existing ssh-agent: 5059 * Known ssh key: /home/bparanj/.ssh/id_rsa
I had already generated the ssh key using ssh-keygen and ran:
$ eval "$(ssh-agent -s)" Agent pid 5059