Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,858
Community Members
 
Community Events
165
Community Groups

Could not read from remote repository

Edited

Hello I followed this exactly -> "Setting Up SSH in Windows"

https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html#SetupanSSHkey-ssh2

All steps checked out and even got success via -> ssh -T git@bitbucket.org

so after: 

git remote add origin git@bitbucket.org:algotechllc/app_backend.git

 

I try: 

git push origin master

Returns: 

Unauthorized

fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

 

1 answer

1 accepted

9 votes
Answer accepted
jredmond Atlassian Team Jun 13, 2019

You've added the public key to the repository as an access key. You need to remove it from the repo and add it to your account.

Thank you for your response, that worked perfectly!

Fantastic! Thank you very much!

Thanks Jim, it was very helpful for me too. :)

Thanks, you are so good. 

But i don't understand, why bitbucket give a option to add shh-key to repo?

jredmond Atlassian Team Aug 06, 2019

It's for CI/CD systems - using those keys, they can pull updates without occupying a user license.

Thanks a lot, it worked for me

This worked.

So, what are the individual repository "Access Keys" for?

Gracias funciona perfectamente, tuve el mismo problema cuando quise pushear.

I spent hours searching for an answer to this creating keys in different ways. Thanks for this contribution.

Go to https://bitbucket.org/account/settings/ssh-keys/ and add your key there.

Thanks! It works =)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,203 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you