[Bug 3265] Canonicalized hostnames do not clear previously-set variables after reloading config.
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Mar 12 14:55:03 AEDT 2021
https://bugzilla.mindrot.org/show_bug.cgi?id=3265
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
CC| |djm at mindrot.org
Status|NEW |RESOLVED
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
This is intentional - per ssh_config(1):
1) configuration parsing is "first match wins"
2) CanonicalizeHostname causes the config files to be re-parsed after
the names have expanded.
Fortunately, you can control which parsing pass options get applied in
via the "canonical" and "final" predicates to the Match directive.
In particular, if you replace "Host *" with "Match canonical all" then
your config will do what you expect.
--
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