生成git本机密钥+更新git服务
2017-03-28 本文已影响76人
上进青年欢乐多
配置本机的git密钥
ssh-keygen -t rsa
提示输入
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
上述都可以为空
会生成文件,打开文件
vim /Users/tuanShao/.ssh/id_rsa.pub

将生成的id_rsa.pub内容添加到

ssh-keygen -t rsa
提示输入
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
上述都可以为空
会生成文件,打开文件
vim /Users/tuanShao/.ssh/id_rsa.pub
将生成的id_rsa.pub内容添加到