1. 程式人生 > >mac操作git [email protected]: Permission

mac操作git [email protected]: Permission

官方解決文件: 
http://git.mydoc.io/?t=154712

1)、重新生成ssh 
ssh-keygen -t rsa -C “[email protected]” 
2)、檢視你的 public key 
cat ~/.ssh/id_rsa.pub 
(以ssh-rsa 開頭,以賬號的註冊郵箱結尾的) 
3)、將它新增到碼雲,新增地址 https://gitee.com/profile/sshkeys 


4)、終端輸入 
ssh -T [email protected] 
5)、完成啦~