sudo apt-get update
sudo apt-get install keychain
# enable keychain for ssh keys
/usr/bin/keychain --quiet $HOME/.ssh/id_rsa
source $HOME/.keychain/$HOSTNAME-sh
518400 minutes = 1 year
keychain --timeout 518400
sudo apt-get update
sudo apt-get install keychain
# enable keychain for ssh keys
/usr/bin/keychain --quiet $HOME/.ssh/id_rsa
source $HOME/.keychain/$HOSTNAME-sh
518400 minutes = 1 year
keychain --timeout 518400