You can also add a specific configuration for each host you are accessing, which is almost the same as saving flags available in ssh.
There is a whole world of flags available, and there are some mappings for each specialization provided. In your case, using certain id_rsa files, you can write ~/.ssh/config to your file:
... Host host_alias HostName host_name IdentityFile ~/.ssh/id_rsa_you_want ...
Then you can simply use:
ssh host_alias
And id_rsa_you_want will be used - as well as any other configurations that you can apply to the connection. See man ssh_config for a complete list of directives available.
source share