Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git lfs pull asks for username and password when using deploy key #716

Closed
Bam4d opened this issue Oct 7, 2015 · 8 comments
Closed

git lfs pull asks for username and password when using deploy key #716

Bam4d opened this issue Oct 7, 2015 · 8 comments

Comments

@Bam4d
Copy link

Bam4d commented Oct 7, 2015

I am using a deploy key on a server to pull my git repo. This works fine:

git pull origin master
From github.com:import-io/marvin
 * branch            master     -> FETCH_HEAD
Already up-to-date.

However when I try to pull the files stored using lfs. it asks me for a username and password:

git lfs pull
Username for 'https://github.com':

This is only happening on the server side where I am using the deploy key. locally it works fine using ssh.

I have also noticed that these two lines keep being added to my .git/config

[lfs "https://github.com/import-io/marvin.git/info/lfs"]
        access = basic
@technoweenie
Copy link
Contributor

Ah, it turns out we don't actually support deploy keys right now. Can you contact https://github.com/contact about this, since it's not an issue with the Git LFS client?

@swolfish
Copy link

swolfish commented Oct 8, 2015

It would be nice to use ssh key for the Git repo and LFS. In this moment is not so intuitive to use double credentials for the same project.
Note: I'm using lfs-test-server for storing assets.

@Bam4d
Copy link
Author

Bam4d commented Oct 8, 2015

Sure, thanks for the quick reply

@Bam4d Bam4d closed this as completed Oct 8, 2015
@atyndall
Copy link

atyndall commented Oct 9, 2015

This also happened to me with one of my projects. I'll contact Github.

@pedrocarmona
Copy link

Is it possible or not?

@technoweenie
Copy link
Contributor

Deploy keys aren't supported right now.

@chytreg
Copy link

chytreg commented Mar 10, 2016

@technoweenie When do you plan to add support for deploy keys?

@technoweenie
Copy link
Contributor

Today's the day! Deploy keys should work on github.com now. If not, send me details at https://github.com/contact so I can look into it. Or contact me there if you're interested in GitHub Enterprise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants