Put this at the bottom of your ~/.bashrc
if [ ! -f /tmp/.sshauthsock ]; then eval $(ssh-agent -s) echo "export SSH_AUTH_SOCK=$SSH_AUTH_SOCK" > /tmp/.sshauthsock else source /tmp/.sshauthsock fi
Put this at the bottom of your ~/.bashrc
if [ ! -f /tmp/.sshauthsock ]; then eval $(ssh-agent -s) echo "export SSH_AUTH_SOCK=$SSH_AUTH_SOCK" > /tmp/.sshauthsock else source /tmp/.sshauthsock fi