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

Underlying Error: callback returned unsupported credentials type. Cloning git repo of pass unsuccessfully #643

Open
ibsil opened this issue May 23, 2024 · 1 comment

Comments

@ibsil
Copy link

ibsil commented May 23, 2024

Hi all, hope I'm not just rehashing an issue that's already resolved or I'm just blind and missed something here. I'm trying to clone the git repo for my password store via ssh but I'm running into an error:
Failed to clone repository Underlying Error: callback returned unsupported credentials type.
I have the git repository url setup correctly: ssh://<username>@<remote ip>/<path_to_pass> (no .git at the end)
SSH private key (RSA 2048) is copied from Termius which I can use to SSH into the remote server without any issues already (which I have also exported to the remote server and confirmed that it is listed as an authorised key)
PGP Key is set (RSA 4096) and I've confirmed that the key ID matches the key ID used to create the pass git repo in the first place.
Any way I can diagnose the issue? I'm kinda stuck. It could be something to do with my Git credentials to begin with as I have no idea if I've messed something up on that end. Any help would be much appreciated. Thanks!

@svempa434
Copy link

If you have root access to the remote server- stop the sshd server and run /usr/sbin/sshd -d -d -d .

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