Generate SSH Key:
- ssh-keygen -t rsa -C "Comment for key"
Add it to gitlab:
- cat ~/.ssh/id_rsa.pub (copy all output)
- Open web browser, go to: Gitlab > User Settings > SSH Keys
- Paste copied output in the SSH key section
Test connection:
- ssh -T git@gilab.domain.com (can use private url)
Do some git stuff:
- git clone something