Files
tty7/src/core
l0ng-ai ad4954ec77 docs(ssh): record why Match blocks are skipped, where they are skipped
`Match` is dropped along with everything under it, and nothing in the code
said whether that was a decision or an oversight. It is a decision --
`docs/remote/ssh.mdx` lists "No `Match` or `canonicalize*` directives"
under what is not supported -- and it took a run of `ssh -G` against a
config to establish that, which is a reason for the next reader not to
have to.

The comment also says why reading them is more than parsing them:
`Match host` tests the *resolved* hostname, so it needs the pass it sits
in; `Match exec` runs a command, which importing a config file should not
do; `Match canonical` wants canonicalisation, which is on the same
unsupported list.

The test holds the documented shape: `ssh -G` answers `user alice` and
`port 2222` for that config, tty7 answers the defaults, and the profile is
still imported from its `Host` block. It is a limitation rather than a
behaviour, so it is worth a test only because failing it means the page
has to change in the same commit.
2026-08-16 15:32:07 +08:00
..