Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

5 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.

Suggest an answer

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

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

182 views 0 2
Join discussion

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