git創(chuàng)建公鑰私鑰對
1.git clone 發(fā)現報錯
$ git clone git@github.com:Volcaner/learngit.git
2.創(chuàng)建公鑰私鑰對
$ ssh-keygen -t rsa -b 4096 -C "git郵箱@xxx.com"
3.產生公鑰私鑰對
4.拷貝公鑰私鑰對
$ cat ~/.ssh/id_rsa.pub
5.繼續(xù) clone
$ git clone git@github.com:Volcaner/learngit.git