Hi All,
I created a public key on unix and added that to my repository with read and write privileges , then I changed the URL to ssh instead of https then when I try to push I am getting the below error ,,can anyone help me
"Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I suspect your git client is not properly picking up the private key.
You can set this variable (if you're using Git 2.3 or newer) to get some debug information about the git-ssh session:
GIT_SSH_COMMAND="ssh -vvv"
Where did you put the private key on your unix system? Git and SSH need to know where to find that private key in order to use it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.