1.生成 SSH 密钥
ssh-keygen -t rsa -C "zhxinye@zhijin.com" 输入:liwenhao(2次)
2. 查看公钥
cat ~/.ssh/id_rsa.pub
3. 复制公钥
pbcopy < ~/.ssh/id_rsa.pub
目的:用于下载git代码
找不到安装路径的,看这里——:https://www.cnblogs.com/hafiz/p/8146324.html
ssh-keygen -t rsa -C "zhxinye@zhijin.com" 输入:liwenhao(2次)
cat ~/.ssh/id_rsa.pub
pbcopy < ~/.ssh/id_rsa.pub
目的:用于下载git代码
找不到安装路径的,看这里——:https://www.cnblogs.com/hafiz/p/8146324.html
本文标题:gitlab如何生存密钥
本文链接:https://www.haomeiwen.com/subject/tmfzydtx.html
网友评论