1、安装git
window 需要安装 git 按部就班即可
https://git-scm.com/
2、安装完之后,打开 Git Bash
输入以下命令并执行,然后一路按“回车”即可,效果见图:
ssh-keygen
即生成成功,非常简单。生成的目录:C:Usersjiangys.ssh
参考:https://jingyan.baidu.com/article/a378c960d5c317b32828300a.html