• 打开Git Bash

  • 输入命令 ssh-****** -t rsa -b 4096 -C “[email protected]GitHub添加SSH Key

  • 然后一直点击回车
    GitHub添加SSH Key

  • 再输入命令: clip < ~/.ssh/id_rsa.pub
    GitHub添加SSH Key

  • 然后进入网址: https://github.com/settings/ssh/new
    GitHub添加SSH Key

  • 其中Title随便输,Key在/c/Users/(自己的用户名)/.ssh/id_rsa.pub文件里面
    GitHub添加SSH Key

  • SSh Key添加成功
    GitHub添加SSH Key

相关文章: