加上 SSH-key 到 GitHub
加上 SSH-key 到 GitHub
1.產生金鑰
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"2.新增其他Key
Host github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa_github3.複製電腦的公鑰到GitHub
4. Windows 產生金鑰
5. 讓不同 Github帳號用不同 SSH Key
GitHub Deploy Key 教學
Last updated
