Error: "Bad Configuration Option: AuthorizedPrincipalsCommand" When Running Deploy Script

When executing the deploy script on a host, the following error appears: Bad configuration option: AuthorizedPrincipalsCommand.

This error occurs when the version of OpenSSH on the target system does not support the AuthorizedPrincipalsCommand directive. The feature was introduced in OpenSSH version 6.9, so systems running older versions are not compatible.

Potential Solution

Try one of the following options:

  • Update the OpenSSH package to version 6.9 or later.
  • Modify your SSH server configuration to use AuthorizedPrincipalsFile as an alternative. For details, see the Allowing Role-Based Access section of the manual certificate authentication setup guide.
  • If certificate-based access is not required, configure the system to use standard public key authentication instead.

Was this page helpful?