How to add ssh key permanently in mac

This is gold :

https://apple.stackexchange.com/a/250572
tl:dr

    1. ssh-add -K ~/.ssh/[your-private-key]
    2. UseKeychain yes
      AddKeysToAgent yes

 

Advertisements