GIT(aliyun code)生成 SSH Key步驟

GIT(aliyun code)生成 SSH Key步驟

第一步:設置你的用戶名

git config --global user.name "你的用戶名"

第二步:設置你的用戶名

git config --global user.email "你的郵箱"

第三步:生成ssh祕鑰

ssh-keygen -t rsa -C "標題"

重點內容
1:標題可以是你的郵箱或者你自己定義,方便你自己理解就ok;
2:sshkey文件目錄

Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa.
Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa.pub.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章