sshconfig-lint

Host has only negated patterns

All checks
warningChecked in the browserNEGATED_HOST

A Host block contains exclusions but no positive pattern.

Why it matters

Negated patterns only remove candidates from an existing positive match. Without a positive pattern, this block can never apply.

How to fix it

Add the positive set you intended. Use Host * !internal !retired to match every host except those exclusions, or name the allowed hosts explicitly. Remove the block if it is obsolete.

Before and after

What is wrong
Host !internal !retired  User deploy
Corrected configuration
Host * !internal !retired  User deploy