[prev in list] [next in list] [prev in thread] [next in thread]
List: openssh-unix-dev
Subject: Re: OpenSSH Feature Requests
From: Damien Miller <djm () mindrot ! org>
Date: 2005-06-25 11:49:59
Message-ID: 42BD44E7.70405 () mindrot ! org
[Download RAW message or body]
Steve Meier wrote:
> When working with OpenSSH in larger networks I often had to use
> different keys for different hosts (with or without passphrases) to gain
> proper access. The major difference was between keys used for "real
You can specify these in .ssh/config using the IdentityFile option. ssh
will try keys in the order in which they are listed there (even if the
keys reside in the agent). E.g.
Host foo
IdentityFile ~/.ssh/id_rsa_foo
Host bar
IdentityFile ~/.ssh/id_rsa_bar
It might be worthwhile to add %h expansion IdentityFile so you could
template this in the config file, see:
http://bugzilla.mindrot.org/show_bug.cgi?id=95
-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic