我就不复制了,见https://www.cnblogs.com/mingyue5826/p/11141324.html 亲测可用 测试配置的key是否可以连接git命令ssh -T git@github.com