Git之生成ssh公钥

生成公钥、私钥
ssh-keygen -t rsa -C "xxx@qq.com"
然后提示
Enter a file in which to save the key (/Users/zq/.ssh/id_rsa): [Press enter], 两次生成需要不同的密钥文件。
Enter a file in which to save the key (/Users/zq/.ssh/id_rsa): id_rsa_github
当提示输入密码信息时,直接回车跳过,否则每次拉代码都需要输入密码。

地址 ~./.ssh

原文地址:https://www.cnblogs.com/shenZS/p/13175463.html