Reputation: 147
after installing red hot client tools and git (windows) i am trying to clone the repository created on the server for my application, but I am getting this error:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic). fatal: Could not read from remote repository.
I have verified that the fingerprints of keys stored locally and used on server for my application match (they do), would appreciate any help.
Edit: i did the exact same thing from the git console (not the normal windows command console, and not the git gui tool - no success with either of them), and it worked fine.
Upvotes: 1
Views: 249
Reputation: 2550
The thread is old, I know..
I had similar problems and doing the following on my local machine did it:
ssh-agent
ssh-add 'path to private key'
ssh-add -l
This let me do the initial git clone ssh://...
for my openshift repository.
Upvotes: 1
Reputation: 23
Follow the below steps:
Now, you try to clone your git repository in local windows machine.
=> git clone git_url directory_to_create
Upvotes: 1