You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I set up ssh keys after reading the instructions from the confluence. I am still getting the following error:
repository access denied. access via a deployment key is read-only.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I am able to push my code properly to Github. Don't really know where I am going wrong.
I am trying to push to my private repo.
The command ssh -T git@bitbucket.org gives the following output:
authenticated via a deploy key.
You can use git or hg to connect to Bitbucket. Shell access is disabled.
This deploy key has read access to the following repositories:
myName/repoName: xxxxxx -- my_email_address
Same troubles here. I followed all the steps from the main page after creating the repo. I even created a new ssh key just for bitbucket and added it to the repo's access keys. no dice.
Fixed it!
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this solution. They should remove the possiblity to add keys in a repo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's there for CI/CD systems to connect. It isn't going away any time soon.
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.
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.
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.
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.
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.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After searching for 3 days. I'm able to push to GIT now. This helped me. Thanks..:-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue exists still on March 28,2020
Fixed using the mentioned trick of removing key from repo and adding to account setting !
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, we need to add ssh key to personal account, instead of repository.
Unbelievable.
I think this docs is useless now, https://support.atlassian.com/bitbucket-cloud/docs/add-access-keys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My God. Superb. It works like a charm - and yeah documentation needs to be updated for this case... or provide more details of the difference
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got here after solving the issue myself. I was about to revert to https and needed to add password for that then i saw option to add ssh. I hadn't realised I was adding a depolyment ssh for read only.
Atlassian can you make this clearer?
The current (which I and many others failed to read and isn't particularly clear anyway):
"Use access keys to gain read-only access to this repository. Learn more about using SSH keys."
could be replace with
"Use access keys to gain READ-ONLY access to this repository FOR READ WRITE add in your personal settings. Learn more about using SSH keys."
Or better still a popup that warns you when you add a key.
Backtracking I see it was those instructions above that sent me on this route, again these could be much clearer.
I see clickup have github integration. if it were up to...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, remove the key from that repository.
Next, add the key to your own account - there's an option in your Bitbucket settings.
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.
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.
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.
I am facing the same problem. Via ssh I cannot push back to the repository. If I try it via https it works. I am accessing the repository in our CI/CD scenario and thus I cannot use https access as it asks for the password each time, when I remember correctly.
I need the deployment access key on the repo itself, otherwise our Jenkins job isn't able to access the repo at all - moving that key to the profile settings doesn't help me.
The message I get is
repository access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Please help.
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.
im getting the same issue .. keep getting :
$ git push
repository access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
any ideas anyone
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.