Mailing List Archive

[Bug 3502] Include directives are processed regardless of the parent Match result
https://bugzilla.mindrot.org/show_bug.cgi?id=3502

Alin <alinmesser@hotmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |alinmesser@hotmail.com

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3502] Include directives are processed regardless of the parent Match result [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3502

Damien Miller <djm@mindrot.org> changed:

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

--- Comment #1 from Damien Miller <djm@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3502] Include directives are processed regardless of the parent Match result [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3502

--- Comment #2 from Alin <alinmesser@hotmail.com> ---
Thank you for the clarification, and I apologize for not diving deeper
into the log.

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs