Recently I started working on a Raspberry Pi 2 to host some simple webapps and to host a gitlab-server. Both seemed to be working fine until the point where I wanted to clone a repo from gitlab. I.e. I'm trying to clone a repo on my RasPi2, that is hosted on my RasPi2. I generated an ssh-key and added it in my gitlab account. I then tried to clone a repo but I get permission denied errors continuously.
For clearance sake: every command is executed on my RasPi2; I'm connected to it through ssh from my regular desktop pc.
Any help clearing this up would be wonderful, thanks in advance.