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

GitHub knows my public key but I can't use LFS, why? #5832

Closed
stephane-archer opened this issue Jul 23, 2024 · 2 comments
Closed

GitHub knows my public key but I can't use LFS, why? #5832

stephane-archer opened this issue Jul 23, 2024 · 2 comments

Comments

@stephane-archer
Copy link

stephane-archer commented Jul 23, 2024

git lfs push --all origin main
Uploading LFS objects:   0% (0/3), 0 B | 0 B/s, done.
batch request: [email protected]: Permission denied (publickey).: exit status 255

but

ssh -T [email protected]
Enter passphrase for key 'C:\Users\*****':
Hi stephane-archer! You've successfully authenticated, but GitHub does not provide shell access.

so GitHub knows my public key but I can't use LFS, why?

I'm on Windows and git lfs push --all origin main does not ask for my passphrase

@chrisd8088
Copy link
Member

chrisd8088 commented Jul 23, 2024

Hey, I'm sorry you're having trouble. As this project is just for the open-source Git LFS client, you may also want to contact GitHub's support team, as they can provide advice specific to GitHub's services.

That said, if you give us some more detail, we may be able to help. See our "other issue" template for the things we usually ask for:

  • The output of git lfs env, when run within the working tree of the repository you're using.
  • The output of git config -l may be helpful as well; just make sure to remove any private information first.

I would also recommend providing the output (with any private information removed) from running your git lfs push command with the environment variables GIT_TRACE=1 GIT_TRANSFER_TRACE=1 GIT_CURL_VERBOSE=1 set.

@chrisd8088
Copy link
Member

As we haven't heard anything more regarding this issue, I'm going to close it, but if you're still having a problem we can help with, please re-open the issue and provide some of the details I mentioned above.

You might also want to take a look at some of the recent discussion in #5784, just in case the lfs.ssh.autoMultiplex=false setting would help you here too.

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

2 participants