在命令行中输入ssh-keygen -t rsa -C "your_email@example.com" 然后使用编辑器打开id_rsa.pub文件,复制里面的ssh 转载于:https://www.cnblogs.com/ldlx-mars/p/10613294.html