Permission denied (publickey) windows GIT

Posted: May 10, 2013 in web

Git is pointing to the wrong .ssh directory

1. on your bach window do ‘ssh -v git@yourgitrepo.com’
2. check for /u/.ssh/id_rsa or something like it
3. do ‘cd /u’ then ‘ls’
4. make sure you now know where is it pointing
5. remove all files under .ssh and copy your id_rsa file to it

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s