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

Git is prompting for bitbucket password instead of ssh key being used

I've verified that my ssh key is working buy using the command ssh -T git@bitbucket.org.

 

But when I go to push my code to bitbucket I'm prompted to put in my bitbucket password and if I do that it says to setup and ssh key because I have 2fa enabled. 

1 answer

1 accepted

2 votes
Answer accepted
edwin Community Leader Feb 05, 2018

Hi Zach,

Check your remote url and verify it isn't https

git remote -v

That was exactly the problem remote was set to https not ssh thank you!

Suggest an answer

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

Bitbucket Server 7.0 is here!

Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...

1,005 views 6 5
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