git创建公钥私钥对
1.git clone 发现报错
$ git clone git@github.com:Volcaner/learngit.git

image.png
2.创建公钥私钥对
$ ssh-keygen -t rsa -b 4096 -C "git邮箱@xxx.com"

image.png
3.产生公钥私钥对

image.png
4.拷贝公钥私钥对
$ cat ~/.ssh/id_rsa.pub

image.png

image.png

image.png
5.继续 clone
$ git clone git@github.com:Volcaner/learngit.git

image.png