Updated: 03 September 2023

Setup GitLab SSH for Git

You need to run the following from bash:

1
ssh-keygen -t rsa -b 4096 -C "you@email.com"
2
cd .ssh/
3
cat id_rsa.pub

Then copy the key displayed on your screen and add a new key on GitLab here