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,560,408
Community Members
 
Community Events
185
Community Groups

Git push auth failure

c ryan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 23, 2023

I can't push to my own repo.

$ git push
remote: Login failed due to incorrect login credentials or method.
remote: If you are unsure of which login details or login method to use, visit:
remote: https://support.atlassian.com/bitbucket-cloud/docs/log-into-or-connect-to-bitbucket-cloud/
fatal: Authentication failed for ...

I have followed the steps to setup keys locally and in BB. ssh-add'd priv key and set in .ssh/config. The setup up the pub key in BB cloud.

From my git bash shell

$ ssh -T git@bitbucket.org
authenticated via ssh key.

You can use git to connect to Bitbucket. Shell access is disabled

This is the last step in the docs, where do I go from here to debug the auth issue? I can't push via cli or sourcetree. 

 

 

1 answer

0 votes
c ryan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 23, 2023

Resolved, perhaps this is useful for others...

in .git/config the old origin entry was still there from a year ago, with username and password

[remote "origin"]
url = https://user:pw@bitbucket.org/blah/myrepo.git

Once I changed the URL to remove these it works fine. 

url = https://bitbucket.org/blah/myrepo.git

Suggest an answer

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

Atlassian Community Events