Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Git LFS pull with SSH Access Key breaks when two step verification required


Discovered the following bug today, repro steps:

  1. Upgrade to a premium bitbucket account
  2. Go to a repository that has Git LFS files in it > Settings > Access Keys > Add a key
  3. Under Settings > Access Management > Access Controls, require 2FA
  4. Try to use that access key to clone the repo

Expected result: clone repo successfully

Actual result: The SSH request to generate a JWT token works, but there is a 403 error while trying to download the relevant files from git LFS. 

1 answer

1 accepted

1 vote
Answer accepted

Hi Zane,

Thank you for reporting this.

We have a bug report about this in our issue tracker:

Until this is fixed, a workaround would be to authenticate with a user that has access to the repo, using an app password with read-only scope.

Our development team will post an update on the bug report when this is fixed. Please note though that we don't provide ETAs and bug fixing is implemented as per our policy here.

You can add yourself as a watcher (by selecting the Start watching this issue link in the bug report) if you'd like to get notified via email on any updates. You can also select the This affects my team link to indicate you are affected by this issue.

If you have any further questions, please feel free to let me know.

Kind regards,

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,087 views 2 9
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