[Bug 2031] ssh config parser ignores host-specific overrides after wildcard.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Aug 9 09:18:06 EST 2012


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

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Darren Tucker <dtucker at zip.com.au> ---
This is by design: you can put overrides at the top and defaults at the
bottom.  From the second paragraph of ssh_config(5):

"Since the first obtained value for each parameter is used, more
host-specific declarations should be given near the beginning of the
file, and
general defaults at the end."

Sorry, but's worked this way for over a decade and I don't see it
changing now, especially given it'll possibly break existing working
configs.

-- 
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