> | 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.
I don't see why under any circumstances ssh should be using keys which do
not match.
Other ideas?
Thanks,
Dave
>
> No, ssh doesn't have a handy "don't use the agent" option either :-(
>
> To this end I use two scripts:
>
> no-ssh-agent, to run an arbitrary command without an agent available:
> http://www.zip.com.au/~cs/scripts/no-ssh-agent
>
> and
>
> nphssh, to invoke ssh with a special phraseless key via the -i flag:
> http://www.zip.com.au/~cs/scripts/nphssh
>
> Feel free to copy these and install in your $PATH.
> Observe that nphssh is really a small wrapper for no-ssh-agent and ssh.
>
> Then just use
>
> -e 'nphssh special-key-filename'
>
> with your rsync onvocations (or use the $RSYNC_RSH variable likewise).
>
> You may guess from the tone of this item that I've been bitten by this
> myself, repeatedly. Not any more.
> --
> Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
>
> If it can't be turned off, it's not a feature. - Karl Heuer
>