Posted on Leave a comment

MacOS ssh key keychain

[code]
ssh-add -K ~/.ssh/id_rsa
ssh-add -A
[/code]

edit or create file ~/.ssh/config

[code]
Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
[/code]

Leave a Reply

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