I'm setting up a SSH key for the first time on Gitlab.com. I'm stuck at verifying that you can connect: ssh -T [email protected]
.
The gitlab.example.com
you are supposed to replace with your Gitlab instance url but I keep getting "ssh: Could not resolve hostname : Name or service not known".
I'm using the Gitlab SaaS solution and have tried various formats, such as:
ssh -T [email protected]/my-workspace-name
ssh -T [email protected]:my-workspace-name
ssh -T [email protected]/my-workspace-name/project-name
What is the correct format that should work?
CodePudding user response:
Correct format is ssh -T [email protected]
.
my-workspace-name
is not part of the instance url.