In another article, Setup ssh login without password, I described how to quickly setup ssh access. In real cluster environment, quite offten, you need multiple private ssh keys, is there a easy way to use them?
Apparently the way to do this is use the comman
That is not a friendly way.
Here is a way, you can either configure it in /etc/ssh/ssh_config, which applys to system wide, or config it in ~.ssh/config
Here is the example:
Now you can connect using the friendly-name:
Remember to add privates to ssh_agent.