Bitbucket - permission denied (public key)
- by drupality
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?