[Bug 2066] ssh tries the keys proposed by the agent before those passed with -i

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat May 11 06:31:00 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2066

--- Comment #11 from Jaap Eldering <eldering at a-eskwadraat.nl> ---
Sorry for replying again, but on second check there does seem to be a
bug, even after removing the IdentityFile lines from the 'Host *'
config.

I'll attach the output of 'ssh -vvv git' in three different scenario's:
- without ssh-agent running: connect using correct key
- with ssh-agent and default ~/.ssh/id_{rsa,dsa} keys loaded:
~/.ssh/id_rsa is incorrectly used
- with ssh-agent but ~/.ssh/id_rsa key removed from agent: connect
using correct key

Also attached a stripped-down version of my client config, exactly the
version as used.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list