如何生成 SSH 密钥
2020-05-18 本文已影响0人
凯司机
生成 SSH 密钥
ssh-keygen -t rsa -C "zhxinye@zhijin.com" 输入:liwenhao(2次)
5. 查看公钥
cat ~/.ssh/id_rsa.pub
6. 复制公钥
pbcopy < ~/.ssh/id_rsa.pub
目的:用于下载git代码
找不到安装路径的,看这里——:https://www.cnblogs.com/hafiz/p/8146324.html
生成 SSH 密钥
ssh-keygen -t rsa -C "zhxinye@zhijin.com" 输入:liwenhao(2次)
5. 查看公钥
cat ~/.ssh/id_rsa.pub
6. 复制公钥
pbcopy < ~/.ssh/id_rsa.pub
目的:用于下载git代码
找不到安装路径的,看这里——:https://www.cnblogs.com/hafiz/p/8146324.html