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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,462,167
Community Members
 
Community Events
176
Community Groups

Can not push but can fetch/pull

Hello. I can't push to a remote repository, but I can fetch and pull. I added my public SSH key in the repository settings (the owner of the repository is not me, but my client). I was able to download the files, now I have made edits on the local machine and I want to push but I can't. The error I am getting:

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

1 vote
Answer accepted
Patrik S Atlassian Team Jun 28, 2022

Hello @mkuchirov ,

Thank you for reaching out to Atlassian Community!

The reason why you are not being able to pull changes is because SSH keys added directly in the repository level, known as Access Keys, grant only read-only access to the repository, so with this key you will only be able to clone/fetch/pull from the repository.

In case you want to make pushes with a SSH key, you should add the key to your bitbucket personal account settings, so the key will be associated with your bitbucket user, and have the same access as your account, meaning you can use the key to read/write to any repository that your account was granted read/write access to.

You can have more details about the SSH key creation and how to add it to your account settings by referring to the following documentation : 

Hope that helps! Let me know if you have any questions.

Thank you, @mkuchirov .

Kind regards,

Patrik S

hello, thanks, got it

Like Patrik S likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events