mssun / passforios

Pass for iOS - an iOS client compatible with Pass command line application.
https://mssun.github.io/passforios
MIT License
1.52k stars 103 forks source link

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

Open ibsil opened 5 months ago

ibsil commented 5 months ago

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 commented 5 months ago

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