|
|
|
|
|
by hliyan
4067 days ago
|
|
I already do this with a simple shell script: if [ $1 == "home" ]; then
ssh-add -D
ssh-add ~/.ssh/id_rsa_home
ssh -T git@github-home
exit;
fi
where in ~/.ssh/config: Host github-home
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_home
IdentitiesOnly yes
|
|
:)