gitlab add ssh key git code example
Example 1: generate an ssh key pair for gitlab
ssh-keygen -t ed25519 -C "<comment>"
Example 2: add ssh key to gitlab
#1- Open GitLab and go to your account settings
#2- Click on SSH.
#3- Click on Add SSH Key
ssh-keygen -t ed25519 -C "<comment>"
#1- Open GitLab and go to your account settings
#2- Click on SSH.
#3- Click on Add SSH Key