Re: graceful ssh key management



At 12:09p -0400 on 17 May 2007, Jeremy C. Reed wrote:
On Thu, 17 May 2007, Kevin Hunter wrote:

Short version: How do I have multiple ssh keys not overwrite each other,
and not force me to use the -i <keyfile> option to ssh for different
servers?

Have a look at the ~/.ssh/config or system-wide /etc/ssh/ssh_config files
documented in ssh_config(5) manual page. For example:

Host server1
IdentityFile ~/.ssh/key1

And @ Dan Nelson:

Host blocks are what I wanted, I think. Thank you all.

Cheers!

Kevin