Using ssh-add with ssh-agent for unattended ssh

Easypeasy:

 eval "$(ssh-agent)"
 ssh-add ~/.ssh/id_rsa