1、在GitBashHere打开命令窗口
ssh-keygen-trsa-C"邮箱"
2、查看公钥,文件生成在C:\Users\Administrator\.ssh目录
cat~/.ssh/id_rsa.pub