gitlab clone 添加SSH公钥

1. Generating a new SSH key pair

ssh-keygen -t ed25519 -C "email@example.com"

or

ssh-keygen -t rsa -b 4096 -C "email@example.com"

2. Adding an SSH key to your GitLab account

xclip -sel clip < ~/.ssh/id_ed25519.pub

3. Testing that everything is set up correctly

ssh -T git@gitlab.com(gitlab项目地址)

 

posted @ 2021-10-08 18:21  一路向北√  阅读(256)  评论(0编辑  收藏  举报

web应用开发&研究 -

业精于勤而荒于嬉。

工作,使我快乐。


Font Awesome | Respond.js | Bootstrap中文网