What is Gitlab's instance domain?

I am trying to test to see if my SSH key was added correctly by following the instructions which are found halfway down the page here.

To test whether your SSH key was added correctly, run the following command in your terminal (replacing gitlab.com with your GitLab's instance domain):

ssh -T [email protected]

However, I have no idea what my "Gitlab's instance domain" is referring to. I have searched other online but I cannot find anything relevant.


Solution 1:

If you're using Gitlab on gitlab.com then the domain is gitlab.com, so you should run  ssh -T [email protected]

Solution 2:

Gitlab can be installed locally so Gitlab instance is what is being run locally. E.g., if one runs Gitlab instance at gitlab.example.net the domain is gitlab.example.net, and the ssh command is ssh -T [email protected].

For Gitlab at gitlab.com the command is ssh -T [email protected].