如何不使用账号密码,使用SSH关联远程GitLab仓库

Win10/Ubuntu:

1、

GitBash    :     ssh-keygen  -t rsa

2、

cat ~/.ssh/id_rsa.pub

3、

网页版Gitlab --- Settings --- SSH Keys --- 粘贴刚刚的rsa串 --- Add key

 

posted @ 2020-03-17 16:14  FL1188  阅读(185)  评论(0)    收藏  举报