sshconfig-lint

Invalid Include pattern

All checks
errorChecked by the CLIINCLUDE_GLOB

An Include contains an invalid glob expression.

Why it matters

The pattern cannot be evaluated, so expected configuration files may never be loaded.

How to fix it

Balance every [ with ], remove a stray escape, or replace the glob with an exact filename when matching is unnecessary. Run the linter again and confirm that the corrected pattern resolves the files you intended.

Before and after

What is wrong
Include ~/.ssh/conf.d/[work.conf
Corrected configuration
Include ~/.ssh/conf.d/work.conf