git 如何生成 SSH 公钥 1、打开你的git bash 窗口 2、进入.ssh目录:cd ~/.ssh 3、找到id_rsa.pub文件:ls 4、查看公钥:cat id_rsa.pub 或者vim id_rsa.pub 公钥如图: