List SSH Directory
List SSH directory. It's not %100 necessary but good to know if you have existing GitLab SSH keys.
Go into Your SSH Directory
Go into the ssh directory by running the the cd command also called the change directory command.
Use SSH Generator to Generate Key for Your GitLab Account
Generate a SSH key using the Linux ssh-keygen command using your own email attached to you GitLab account.
Add RSA File by Following the on Screen Steps
Follow each on-screen step to generate a RSA file. Doesn't have to be named gitlab_rsa but as a suggestion copy the below name for better organization.
Make Sure SSH Agent is On
Add Information to SSH
For single sign-on capabilities, make sure to add your new SSH configuration to the ssh-agent helper program to keep track of your identtiy gey and passphares. This is to make sure you don't have to type a password all the time.
Check and Copy SSH Key
There're several ways to copy a SSH key, since everyone doesn't have programs like xcopy installed. This is the most universal (but manual) way to copy your public SSH key to your GitLab account.