git生成ssh key

  1. 生成新的ssh key
    命令行输入
ssh-keygen -t rsa -C "your_email@example.com"

默认,一直回车
2. 获取生成的ssh key
命令行输入

cat ~/.ssh/id_rsa.pub
原文地址:https://www.cnblogs.com/shellon/p/12678337.html