-
進入.ssh資料夾
cd ~/.ssh
-
產生鑰匙
ssh-keygen
-
複製.pub內容
cat id_rsa.pub
-
將密鑰新增至github (Settings -> SSH and GPG keys -> New SSH key -> select Auth. Key and past Key)
進入.ssh資料夾
cd ~/.ssh
產生鑰匙
ssh-keygen
複製.pub內容
cat id_rsa.pub
將密鑰新增至github (Settings -> SSH and GPG keys -> New SSH key -> select Auth. Key and past Key)