On Wed, Jul 18, 2001 at 11:10:00AM -0400, Dave Wreski <[EMAIL PROTECTED]> wrote:
| > | This sounds more like an ssh bug; I would try taking the report to
| > | their mailing lists.
| > Well... "It's a feature."
| > Well, anyway, it's documented behaviour. Ssh will try all the keys, even if you
| > hand it the -i flag to say "here's the key I want, dumbo!"
| > Solution: disable your ssh-agent for the ssh-invocation.
|
| Cameron, thanks for your help. I'm not sure it's the same problem, though,
| because ssh-agent is not running, and the problem still occurs.
Oh. Can you send me an "ssh -v" transcript showing the behaviour?
| I don't see why under any circumstances ssh should be using keys which do
| not match.
Depends what you mean by "match". Ssh will try to get in with the keys it
knows about. If you have a terminal for stdin it will try your identity
key, prompting you for the passphrase. It's very annoying that it seems
not to try the -i key _first_, or preferably _only_.
Can you a) send me that ssh -v transcript and b) tell me which key it
does get in with? You don't perchance have phraseless identity key do you?
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
Meddle not in the affairs of dragons,
for you are crunchy and good with ketchup.