Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mac use multiple ssh keys for gihub

# ~/.ssh/config
#activehacker account
Host github.com-activehacker
	HostName github.com
	User git
	IdentityFile ~/.ssh/id_rsa_activehacker

#jexchan account
Host github.com-jexchan
	HostName github.com
	User git
	IdentityFile ~/.ssh/id_rsa_jexchan
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #mac #multiple #ssh #keys #gihub
ADD COMMENT
Topic
Name
9+1 =