[Bug 3502] Include directives are processed regardless of the parent Match result

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Nov 17 10:47:51 AEDT 2022


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Yes, this is completely intentional. Include directives are processed
for all blocks to catch syntax errors.

However, directives in files included from non-matching blocks do not
modify the configuration. This is why

> debug3: /Users/myuser/.ssh/config line 14: Including file /Users/myuser/.ssh/file1 depth 0 (parse only)

says "parse only" at the end of the line.

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