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

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

Zach Thomas February 4, 2018

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2018

Hi Zach,

Check your remote url and verify it isn't https

git remote -v
Zach Thomas February 5, 2018

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
AUG Leaders

Atlassian Community Events