This guide with help you to setup up your environment in order to access the new self-managed GitLab instance accessible at https://git.eways.dev/.
-
Install
cloudflared -
Configure SSH to use
cloudflaredYou need append the following lines to your SSH client configuration file:
Host ssh.eways.dev ProxyCommand cloudflared access ssh --hostname %h
On MacOS, and Linux, the file is located at
~/.ssh/config. On Windows, assuming Git is already installed, it should be located atC:\Program Files\Git\etc\ssh\ssh_config, orC:\Users\[User]\.ssh\config. See the following threads for more details:If you encountered errors related to
cloudflaredcommand not being available, try using its absolute path instead in the SSH config fileProxyCommandline. -
Generate a SSH key
Follow this guide for more details. Make sure to choose
ed25519algorithkey type. -
Import generated key to your account
See this guide for more details.
-
Verify
ssh -T [email protected]
Running the above command should print a Welcome to GitLab, @username! message.
See https://docs.gitlab.com/ee/user/ssh.html#verify-that-you-can-connect for more details and troubleshooting guides.