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 votes
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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

638 views 0 4
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot