一、打开你的git bash 窗口git
二、进入.ssh目录:cd ~/.sshvim
三、找到id_rsa.pub文件:lsbash
四、查看公钥:cat id_rsa.pub 或者vim id_rsa.pubssh
公钥如图:blog