Add key to agent run the agent process eval $(ssh-agent) ssh-add [key] redo when restated ssh-agent bash ssh-add /home/username/.ssh/id_rsa