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

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

jbelin September 22, 2019

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 gitlab.com 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
Atlassian Team members are employees working across the company in a wide variety of roles.
September 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 "git@gitlab.com:blah/blah.git"?

jbelin September 26, 2019

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: git@gitlab.com: Permission denied (publickey).: exit status 255error: failed to fetch some objects from 'https://gitlab.com/dmafjs_v1/dmafjs-video.git/info/lfs'

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: git@gitlab.com: 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
TAGS
AUG Leaders

Atlassian Community Events