I generated the ssh key using sourcetree but I'm not able to pull or push to the repository. It shows that public key access denied, and I changed the ssh key and tried again but the result is same. How to fix this.?
I assume you also added the public key to your Bitbucket profile?
Aside from that I've seen a similar issue where the ssh keys are not saved in the correct directory.
Normally GIT will look in the .ssh subdirectory of your home directory.
But this can depend on which git you are using. Are you using the embedded git or system git? Take a look at Using Embedded Git or System Git in SourceTree for more info about that.
ya I added the public key when created the new key. Two days before i faced the same problem, i just deleted all the keys from ssh directory and bitbucket profile and created a new one using source tree and added to the profile also. Then I was able to do the push/pull. But after sometime it shows the error public key access denied. sometime it works and some other time it wont.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.