sshconfig-lint

LocalCommand ist nicht aktiviert

Alle Prüfungen
WarnungWird im Browser geprüftLOCAL_COMMAND_DISABLED

Ein LocalCommand ist konfiguriert, obwohl PermitLocalCommand nicht aktiviert ist.

Warum das wichtig ist

OpenSSH ignoriert LocalCommand still, solange die Ausführung nicht ausdrücklich erlaubt ist. Die erwartete lokale Aktion findet nie statt.

So behebst du es

Füge PermitLocalCommand yes nur in einem passenden Bereich hinzu, wenn du Befehl und Konfigurationsquelle vertraust. Andernfalls entferne LocalCommand. Bei einem nicht aufgelösten Include warnt der Linter bewusst nicht.

Vorher und nachher

Was falsch ist
Host production  LocalCommand logger connected-to-production
Korrigierte Konfiguration
Host production  PermitLocalCommand yes  LocalCommand logger connected-to-production