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

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

GitLab: cannot clone in SourceTree, don't accept password

I am connecting over SSH and have created a personal access token, I can view the remote repos but when I try to clone I get a Password required. I have tried both my password and the personal access token but the dialog immediately pops up again without any error. 

Any suggestions?

1 answer

0 votes
Mike Corsaro Atlassian Team Sep 25, 2019

Hello! Which OS and version of Sourcetree are you using?


If you're using SSH, could you please verify the URL for the repo you're trying to clone starts with "ssh:" or looks something like ""?

The url is correct. What I did not try was the ssh key passphrase and that worked! But now I get stuck in the next step related to git lfs and public key:

Got this after successfully cloning

batch request: Permission denied (publickey).: exit status 255error: failed to fetch some objects from ''

and this when checking out another branch

Downloading applications/synktest/assets/audio/audio_test_8sec_48khz.aac (8.4 KB)

Error downloading object: applications/synktest/assets/audio/audio_test_8sec_48khz.aac (5c89c5e): Smudge error: Error downloading applications/synktest/assets/audio/audio_test_8sec_48khz.aac (5c89c5e4c943655d25c6fd4c5701ec0b5403a3675fc895db24dccc55a0ad1a7d): batch request: Permission denied (publickey).: exit status 255

Errors logged to /Users/DinahmoeStudio/Documents/gitlab/dmafjs-video/.git/lfs/logs/20190926T091057.42028.log

Use `git lfs logs last` to view the log.

error: external filter 'git-lfs smudge -- %f' failed 2

error: external filter 'git-lfs smudge -- %f' failed

fatal: applications/synktest/assets/audio/audio_test_8sec_48khz.aac: smudge filter lfs failed

the error log doesn't give any additional information

Any ideas?

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,742 views 4 12
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