Idea 在 Linux 下配置 Git 操作免登录 ssh 公钥
cd ~/.ssh
ssh-keygen -t rsa -b 4096 -C “your_email@example.com” 什么都不用输入直接按三下Enter
可以看到当前目录下多出两个文件 id_rsa.pub 和 id_rsa 带后缀是公钥,不带是私钥
more id_rsa.pub 打开公钥,将全部内容复制
然后登陆你的gitLab:
Gitlab-->userSetin...
原创
2019-11-10 01:33:53 ·
5777 阅读 ·
0 评论