sshconfig-lint

LocalCommand n’est pas activé

Tous les contrôles
avertissementVérifié dans le navigateurLOCAL_COMMAND_DISABLED

Un LocalCommand est configuré sans activation de PermitLocalCommand.

Pourquoi c’est important

OpenSSH ignore silencieusement LocalCommand tant que son exécution n’est pas explicitement autorisée.

Comment corriger

Ajoutez PermitLocalCommand yes dans une portée applicable seulement si la commande et la source de configuration sont fiables. Sinon, supprimez LocalCommand. Le linter reste prudent face à un Include non résolu.

Avant et après

Ce qui est incorrect
Host production  LocalCommand logger connected-to-production
Configuration corrigée
Host production  PermitLocalCommand yes  LocalCommand logger connected-to-production