Bitbucket - permission denied (public key)
Posted
by
drupality
on Super User
See other posts from Super User
or by drupality
Published on 2012-07-06T21:05:55Z
Indexed on
2012/07/06
21:19 UTC
Read the original article
Hit count: 350
git
I have repos in github and bitbucket.
First I wanted to use same public key in bb and gh with no luck.
So I created another public key, my .ssh/config file look like this:
Host bb
HostName bitbucket.org
User somename
PreferredAuthentications publickey
IdentityFile C:/Documents and Settings/Marek/.ssh/bb
Host github
HostName github.com
User somename
PreferredAuthentications publickey
IdentityFile C:/Documents and Settings/Marek/.ssh/id_rsa
bb.pub is for bitbucket. I pasted key from this file to bitbucket.
I still having
Permission denied (public key)
when I try to push my initial commit. Could somebody help?
© Super User or respective owner