# start ssh-agent to remember key
eval $(ssh-agent)
# add and save key permenantly on linux
ssh-add ~/.ssh/id_rsa
# for permeenant save on mac
vim ~/.ssh/config
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
# write and close (:x) force close (:q!)