[Bug 3842] New: Match !final triggers re-parsing round

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Jun 24 06:18:57 AEST 2025


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

            Bug ID: 3842
           Summary: Match !final triggers re-parsing round
           Product: Portable OpenSSH
           Version: 10.0p2
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: nix-muell at gmx.net

Created attachment 3885
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3885&action=edit
trivial fix

I do weird things with 'Match exec'. Sometimes re-parsing happens
because hostname canonicalization. Sometimes I force it with 'Match
final' when debugging my 'exec's. But overall, I try to avoid it.
Some 'exec's I want only executed once (if at all), so I write them as
'Match !final exec'. This works as expected, but I noticed that it also
triggers a re-parse round (and only because it takes a lot longer to
process in cygwin).
Seems like a trivial oversight/bug to me.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list