gitlab创建私钥,ssh认证

git config --global user.name "qiuxie"
git config --global user.email 13072558368@wo.cn
创建私钥
ssh-keygen -t rsa
查看私钥
cat ~/.ssh/id_rsa.pub
最后将私钥加到对应位置,最后选择添加

alt alt alt