SSH Public key denied on "git clone" command
git, github, heroku, ssh, ssh-keys
Solution
Answering a very old thread, here, but I'm on Cygwin and just had to do this to start work with my newly created site on phpfog.com
First, I ran this in cygwin:
exec ssh-agent bash
ssh-add ~/.ssh/private-key-name
I then received:
Identity added: /home/scott/.ssh/private-key-name (/home/scott/.ssh/private-key-name)
Problem
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 git@github.com` 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.