Enter ssh password once

2014-09-11

Everytime you establish ssh-connection or use git via ssh you will be asked for a password. I suggest to you a simple solution of that issue. Before connecting to remote machine run the following commands in your terminal:

ssh-agent bash
ssh-add /home/$USER/.ssh/id_rsa