# Generate key make sure you give it a new name (id_rsa_server2)ssh-keygen
# Make sure ssh agent is runningeval `ssh-agent`
# Add the new keyssh-add ~/.ssh/id_rsa_server2
# Get the public key to add it to a remote system for authenticationcat ~/.ssh/id_rsa_server2.pub
# Configuration for GitHub to support multiple GitHub keysHost github.comHostName github.comUser git
# UseKeychain adds each keys passphrase to the keychain so you# don't have to enter the passphrase each time.UseKeychain yes
# AddKeysToAgent would add the key to the agent whenever it is# used, which might lead to debugging confusion since then# sometimes the one repository works and sometimes the# other depending on which key is used first.# AddKeysToAgent yes
# I only use my private id file so all private# repositories don't need the environment variable# `GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa"` to be set.IdentityFile ~/.ssh/id_rsa