I have access to different git servers. I have several keys for these servers. How to use different keys for different git servers?
Host git.example.org Port 22111 IdentityFile ~/.ssh/id_rsa.git.example.org Host code.example.org Port 22 IdentityFile ~/.ssh/id_rsa.code.example.org
which specifies the port and private key file for git.example.org and code.example.org.
Answered by anonymous.