views:

1478

answers:

3

I am trying to clone a git repo that I forked in my GitHub Repository.It's a rails app. I want to clone it on my local git so that I can push it onto heroku. I generated a set of rsa keys and copied it onto my GitHUb public keys. When I try to git clone "public url" , It says public key denied. I tried an ssh [email protected] to verify my key, it also says public key denied. I've tried several different things to make it work but it still hasn't. I tried to change permissions to 600 and 700 on my .ssh folder. I also tried adding a dsa key because the rsa won't work. please help me. Thanks. :)

I'm on Vista btw.

A: 

Can you try adding the private key using ssh-add?

Alan Haggai Alavi
I tried it and it said Could not open a connection to your authentication agent.
KT
A: 

After a lot of googling, I found this answer. I had to start the bash engine before i can add the keys. I cloned my app from github to my local server as well.

KT
A: 

If you are on Linux, you can try keychain tool to manage SSH agent.

Jakub Narębski