Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: graceful ssh key management |
|---|---|
| Date: | Thu, 17 May 2007 12:29:02 -0500 |
In the last episode (May 17), Kevin Hunter said:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello List, 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?
Put them in separate files, and use Host blocks in ~/.ssh/config to
specify different IdentityFile 's for each server you want to connect
to.
Host server1.com
IdentityFile ~/.ssh/id.server1
Host server2.com
IdentityFile ~/.ssh/id.server2
Actually, you should be able to list all the identity files in a big
bunch at the top of the config file. Authentication may take longer to
some servers though, as ssh tries all the keys in sequence (man
ssh_config, IdentityFile section)
--
Dan Nelson
dnelson@allantgroup.com
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: logging, Kevin Hunter |
|---|---|
| Next by Date: | Re: graceful ssh key management, Kevin Hunter |
| Previous by Thread: | Re: graceful ssh key management, Kevin Hunter |
| Next by Thread: | Re: graceful ssh key management, Kevin Hunter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |