git生成并添加SSH key

01. 安装Git Bash

https://git-scm.com/downloads

02. 在桌面鼠标点击邮件 - git bash here

git生成并添加SSH key

03. 执行以下命令:

1> cd ~/.ssh/
2> ssh-****** -t rsa -C "[email protected]"

注:一直点击Enter

3> cat id_rsa.pub
git生成并添加SSH key

04.将以上id_rsa.pub中生成的key拷贝到对应的git setting中

git生成并添加SSH key

相关文章:

  • 2022-12-23
  • 2021-11-26
  • 2021-10-16
  • 2021-10-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
相关资源
相似解决方案