Adding SSH Key
- Start by generating ssh keys.
- Copy contents of public key file ending with
.pubextension. - Login to GitLab website and navigate to
Preferences > SSH Keyssection.
- At the right upper corner, click on
Add new key. - In the Key field, copy the public key which was copied in step 2.
- Optionally specify
Expiration dateto invalidate the SSH key on specified date.
- To save the entered key it is necessary to press the
Add Keybutton.