sshconfig-lint

Include cycle

All checks
errorChecked by the CLIINCLUDE_CYCLE

Included files eventually include a file that is already being resolved.

Why it matters

A circular Include chain cannot be expanded safely and usually indicates tangled configuration ownership.

How to fix it

Follow the reported chain until it points back to a file already visited, then remove that back-reference. If both files need shared defaults, move those defaults into a third file that they include in one direction only.

Before and after

What is wrong
# configInclude conf.d/work # conf.d/workInclude ../config
Corrected configuration
# configInclude conf.d/work # conf.d/workInclude common.conf # conf.d/common.confServerAliveInterval 30