Git LFS not working on an account with two factor authentication

I'm having some trouble using the new git-lfs extension with my repos. I successfully added objects to be tracked by LFS but when I go to push I get repeatably asked for my password for an HTTPS connection, even though I am using SSH for my git auth.

Reading this other question, it sounds like it's expected that git-lfs would open multiple connections, which would each prompt for a password. So I entered my password, around 8 times and kept re-prompting me. I am only adding 5 files to LFS, so having 8 prompts made it seem like something was going wrong.

I suspect that the issue is that my account has two factor authentication, which means it can't connect over HTTPS. Can you advise about what I can do next to fix the issue or alternatively, if this an issue with the Bitbucket side of things, can you give me an ETA on a fix?

1 answer

1 accepted

1 vote
Jeff Thomas Atlassian Team Jan 30, 2016

Hi James,

Are you trying to use Git LFS with a repository hosted in Bitbucket Cloud ( If so, Git LFS support on Bitbucket Cloud has not been released yet. Please follow the feature request here for updates.

Support for Git LFS is currently only available in Bitbucket Server and Bitbucket Data Center (where you host the application yourself).

Oh my mistake then, your blog post was ambiguous about what products now supported LFS. I'll keep an eye on that feature request, thank you for the link.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

26,943 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you