[Bug 1898] possible unreasonable behaviour when using ProxyCommand with multiple IdentityFile(s)

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri May 6 07:09:54 EST 2011


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

--- Comment #2 from Christoph Anton Mitterer <calestyo at scientia.net> 2011-05-06 07:09:54 EST ---
Well I guess I understood how it works and also that it's "appended"
multiple IdentityFile statements are used.

And especially because of this, I think it should work even _without_
specifying an additional 
IdentityFile ~/.ssh/id_rsa
... or the documentation should be changed.

The ssh_config manpage says the default (i.e. when nothing is specified
[0])
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_dsa
IdentityFile ~/.ssh/id_ecdsa

Right?

Ok, now in the login.example.org block, nothing is specified, so I'd
expect this default to be taken, and then the ones from the other
blocks _appended_.


[0] Now currently it seems like the meaning is:
"These are taken as defaults, if after all block merging at no block an
IdentityFile was specified."

Personally I consider it this way less reasonable, but if you don't
agree with that and/or can't change it easily, I'd suggest that you add
to the documentation, that the default is only applied, _AFTER_ all
block merging was done.


Of course all this is not a big issue ;-) ... but it took me quite some
time to find the reason (which I eventually did before writing this bug
report),... especially as with ssh-agent under some GUI (e.g. GNOME or
so), everything worked just fine; while under plain console, it didn't.


Cheers,
Chris

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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