Skip to content

Instantly share code, notes, and snippets.

@rhumlover
Last active December 25, 2015 20:09
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 rhumlover/7032745 to your computer and use it in GitHub Desktop.
Save rhumlover/7032745 to your computer and use it in GitHub Desktop.
Issue: git ask for password while gitconfig is correctly set Solution: add your private ssh key

Issue

git ask for password while gitconfig is correctly set

Test

$ ssh-add -L
The agent has no identities.

Solution

add your private ssh key

$ ssh-add .ssh/id_dsa
Identity added: .ssh/id_dsa (.ssh/id_dsa)
root ▸ ~
$ ssh-add -L
ssh-dss AAAAB3NzaC1kc3MAA.........== .ssh/id_dsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment