The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket/Sourcetree write access from a 2nd machine?

sirtimf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 18, 2017

Hi,

I set up my Bitbucket repo via Sourcetree on a pc successfully, and have cloned the same repo on my mac. But when I try to push a commit from my mac I'm getting the following:

--

repository access denied. access via a deployment key is read-only.

fatal: Could not read from remote repository.

--

I understand that SSH keys are read only, but I don't understand why I can't write to the repo if I'm logged in to my Sourcetree/Bitbucket as the account owner. Do I need to add another kind of key?

Many thanks.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
sirtimf
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 18, 2017

Fixed:

Instead of adding the SSH key for my mac to the repo itself, I needed to add the SSH key to my User settings.

TAGS
AUG Leaders

Atlassian Community Events