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


I am trying to commit my new application to the repository for the first time.   Thought I followed the directions to a tee however I am getting the error in the subject line no matter what I try.

What is the trick to getting the first commit though?   Did I not set up my key properly?   It seems to tell me that keys are for read only access only but how does one commit with only read access?


1 answer

This widget could not be displayed.
Boris Berenberg Community Champion Aug 03, 2017

Deployment keys are to deploy. You need to install an ssh key, or push via HTTP.

I was looking for a place I could do that but was finding it not too obvious.   "Access Keys" was the only setting I could find.

that link is broken

oops.  it was broken when i clicked on it for some reason but a copy and paste found it

Boris Berenberg Community Champion Aug 04, 2017

Hmm weird, trying again https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html If it doesn't work, try copy pasting it in

that got it!   i just didn't see the other place to add keys before.  it's going now.   thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,528 views 9 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you