1,生成SSH Key
① ? cd ~/.ssh/ ? ?【如果沒有對應的文件夾,則執行 ?mkdir ?./.ssh】
② ?git config --global user.name "xb12369"
③ ?git config --global user.email "1234@qq.com"
④ ?ssh-keygen -t rsa -C "1234@qq.com"
2,報錯內容(Permissions 0644 for '/root/.ssh/id_rsa' are too open.)
chmod 0600 /Users/daizhengchuan/.ssh/id_rsa