The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Password not working for git. Using recently linked Atlassian account.

Maurice Downes
June 15, 2020

Logged into my Bitbucket account after not using it for a few years and authenticated through Google to come back to it. I was prompted to connect the earlier account to what I assume was a new one that Atlassian set up for me. The problem now is that when I get prompted for a password when I try to push code to Git and I use my previously saved Bitbucket password, I get an authentication error.

So basically, I'm just trying to figure out how I can log into Git from Terminal on my computer now. Should the old password still be working?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
marvin_collins
Contributor
June 20, 2020

if you are not able to login try resetting your password and use the new password to login in terminal. The best way is to use your SSH key to access your bitbucket with git from terminal

Maurice Downes
June 20, 2020

that’s what i figured. i’m going to try setting up an SSH key first.

thanks

Maurice Downes
June 20, 2020

ssh worked, but i also had to edit the .git/config file:

from:
[remote "origin"]
url = https://<username>@bitbucket.org/<username>/<repo>.git
...

to:
[remote "origin"]
url = git@bitbucket.org:<username>/<repo>.git
...

in case someone doesn't know why this is asking for a password even after you've added your ssh public key

TAGS
AUG Leaders

Atlassian Community Events