Skip to content

Instantly share code, notes, and snippets.

@prasidhda
Created June 5, 2020 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prasidhda/7da8307a4231c5784bcd04883b4db6f9 to your computer and use it in GitHub Desktop.
Save prasidhda/7da8307a4231c5784bcd04883b4db6f9 to your computer and use it in GitHub Desktop.
ssh-add -K ~/.ssh/[your-private-key]
And in ~/.ssh/config you add:
Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/[your-private-key]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment