Remember password in ssh session

Do you find typing your password in ssh session multiple times really annoying?
This should help:

# below commands have to be run one after another, otherwise it won't work
ssh-agent bash
ssh-add ~/.ssh/id_rsa

Leave a Reply

Your email address will not be published. Required fields are marked *