sshconfig-lint
LocalCommand is not enabled
← All checksA LocalCommand is configured while PermitLocalCommand is not enabled.
Why it matters
OpenSSH silently ignores LocalCommand unless execution is explicitly permitted. The expected local setup or notification never happens.
How to fix it
Add PermitLocalCommand yes in an applicable scope only when you trust the command and configuration source. Otherwise remove LocalCommand. The linter stays conservative when an unresolved Include could enable it.
Before and after
Host production LocalCommand logger connected-to-productionHost production PermitLocalCommand yes LocalCommand logger connected-to-production