SSH agent

To store an ssh key in the cache for the current session,

pgrep ssh-agent

If there is no ssh-agent instance

ssh-agent

and finally

ssh-add ~/.ssh/id_rsa