Skip to content

Instantly share code, notes, and snippets.

@dinks
Created August 17, 2017 08:28
Show Gist options
  • Save dinks/033abeeda5dd601b80f01212566e6288 to your computer and use it in GitHub Desktop.
Save dinks/033abeeda5dd601b80f01212566e6288 to your computer and use it in GitHub Desktop.
Enter passphrase for key fix for ssh
  • ssh-add -K ~/.ssh/id_rsa Note: change the path to where your id_rsa key is located.

  • ssh-add -A

  • Create (or edit if it exists) the following ~/.ssh/config file:

    Host *
      UseKeychain yes
      AddKeysToAgent yes
      IdentityFile ~/.ssh/id_rsa
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment