Error: Permission denied (publickey)

Hi! In case someone whose account is in gitlab and is trying to generate a SSH and is following the tutorial guide of GitHub. You may find the error of the title when checking the connection of your SSH and the one generated in gitlab, this is because the guide says to check as follows :
ssh -vT git@github.com
You may need to check with
ssh -vT git@gitlab.com

Privacy & Terms