Multiple account of github configuration
· β 2 min read · βοΈ CheeseMocha
Got this passage from github, and it really works fine:
https://gist.github.com/jexchan/2351996
Multiple SSH Keys settings for different github account create different public key create different ssh key according the article Mac Set-Up Git
1 $ ssh-keygen -t rsa -C "your_email@youremail.com" Please refer to github ssh issues for common problems.
for example, 2 keys created at:
1 2 ~/.ssh/id_rsa_activehacker ~/.ssh/id_rsa_jexchan then, add these two keys as following
1 2 $ ssh-add ~/.