在码云上创建ssh公钥

1.如果在 cmd 上运行ssh-****** 报错 说不是命令什么的,找到git的安装目录C:\Program Files\Git\usr\bin 添加到系统的环境变量中
2.再次打开cmd 执行 ssh-****** -t rsa -C “[email protected]
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/xxx/.ssh/id_rsa): #冒号后面是让给公钥起名字

Enter passphrase (empty for no passphrase): # 让你设置公钥密码
Enter same passphrase again: #让你再次确认公钥密码

3.到C:\Users\xxx.ssh 目录下找到.pub的文件, 复制文件文本到

码云–>(个人)设置–>SHH公钥,粘贴到红线指的框中, 填写下标题 ,点击确认, 公钥就算添加完成了.
我靠,记录下 免得下次忘记
在码云上创建ssh公钥