After several hair-pulling hours of frustration I managed to identify an issue I was having with bitbucket and all of my repositories.

When attempting to pull, push, clone, or perform any action in a bitbucket git repository I was met with the following:

conq: repository access denied. deployment key is not associated with the requested repository

This apparently was caused by a failed ssh identity in MAC OSX after a recent update to OpenSSH. I have no logical explanation, but the solution was quite simple:

ssh-add ~/.ssh/PRIVATE_KEY_NAME

For most people, that means: ssh-add ~/.ssh/id_rsa

Categories: Random


Sean Patterson · December 16, 2015 at 8:53 am

Glad you shared this! Maybe it’ll help somebody else at the office, and dog fooding these things for future reference isn’t bad either 8^D

ocsix · August 18, 2016 at 8:38 am

Thanks very much

Stefan Monov · September 27, 2017 at 4:40 am

Thanks for the solution but the problem persists for me on Ubuntu 16.04.

    Mridul · June 14, 2018 at 11:39 pm

    I am having the same issues. Have you figured anything out?

Larry Ruane · March 26, 2018 at 2:59 pm

Thank you, Jake, that worked for me (Ubuntu 16.04).

ilya · March 30, 2018 at 4:14 pm

Thanks a lot!!!

Ninja · April 22, 2019 at 5:36 am

this is 2019 now, Still very much thanks!

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *