My problem is that I can't push or fetch from GitLab. However, I can clone (via HTTP or via SSH). I get this error when I try to push :
Permission denied (publickey) fatal : Could not read from remote repository
From all the threads I've looked, here is what I have done :
If you have any insight about how to resolve my issue, it would be greatly appreciated.
I found this after searching a lot. It will work perfectly fine for me.
ssh-keygen
.ssh
folder.id_rsa.pub
. Open it on notepad. Copy all text from it.Now give it a shot and it will work for sure.