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

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,806 views 134 29
Read article

Atlassian Community Events