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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

4 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?

Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,912 views 0 7
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