Posted on

MacOS ssh key keychain

ssh-add -K ~/.ssh/id_rsa
ssh-add -A

edit or create file ~/.ssh/config

Host *
  UseKeychain yes
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_rsa
Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.