I'm setting up Git Bash on my Windows 10 PC with the intent of using it with Gitlab. Despite setting everything up correctly, a git clone or git push always results in Permission denied (publickey).
Before you say it, I've looked extensively at all answers to similar problems, and on top of that, I'm fairly experienced with this sort of thing.
So, yes, I've generated brand-spanking new SSH key pairs, sitting happily in ~/.ssh/ as id_rsa and id_rsa.pub. The public key is registered to my account in Gitlab, which is the master of the repository, and the repository exists and has been initialized.
On top of everything else, I've done what the Gitlab documentation says and have tested my setup using
ssh -T git@gitlab.com
and got the anticipated "Welcome to GitLab, [Given Name]!" message, meaning the SSH key is working (otherwise, you'd see the permission denied publickey message).
Regardless, any attempt to interact with the actual server results in:
Permission denied (publickey).
fatal: Could not read from remote repository.
Does anyone have any experience with this same issue, or ideas of other things to try? Most people's issues seem to usually be resolved with a new key pair, or something simple like that.
Thanks in advance!