Gitlab configuration public key

Gitlab configuration public key

1. Use Git to generate ssh key
First ensure that we have installed Git on this machine, right-click the mouse – Git Bash Here

Then enter

cd ~/.ssh

click enter

ls

click enter

cat id_rsa.pub

insert image description here

A miracle happened, the ssh public key we wanted came out, of course we must copy it down, or don’t close this window for now

All the operation steps are as shown in the figure below:
2. Configure the ssh public key in GitLab
and operate directly on the figure

Enter GitLab

Find the page where you enter the public key and perform the operation

GitLab configuration public key is also alive
insert image description here

Guess you like

Origin blog.csdn.net/m0_46672781/article/details/127961190