首先安装好Git

打开 Git Bash

键入 ssh-****** -t rsa -b 4096 -C "[email protected]"

(邮箱替换成你的)
然后接下来的一直按回车

Git使用笔记之配置SSH**

现在SSH**已经创建好,添加到agent进行管理

键入ssh-agent bash

以启动ssh-agent

键入ssh-add ~/.ssh/id_rsa

将**添加到ssh-agent

键入 clip < ~/.ssh/id_rsa.pub

复制**信息到剪切板
进入账号的setting里的SSH&GPG Keys,选择New SSH Key
在弹出来的里面的title输入个名字(自己随便定义)
Key里粘贴
再点add SSH Key即可添加成功

相关文章:

  • 2021-09-22
  • 2022-12-23
  • 2021-09-29
  • 2021-08-07
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2021-09-21
  • 2021-08-30
  • 2021-12-16
相关资源
相似解决方案