Add troubleshooting instruction to check if remote uses ssh or https in Docs: GitLab and SSH keys
https://docs.gitlab.com/ee/ssh/
Hey, please add a heads up (e.g. in the troubleshoot section), that users should check whether the gitlab remote set in .git/config is pointing to the ssh url rather than the https url.
I remember that I searched forever how to solve this issue when I was new to git, and it took me a while to fix it this time while being a bit less new to git ;), as googling for ssh issues doesn't bring this up easily and cloning a repository via https is the learned default when you mostly use github as a consumer.
Edited by Torben Spieker