platformsh / legacy-cli

This is the legacy version of Platform.sh's command-line interface. The new version is at: https://github.com/platformsh/cli
https://docs.platform.sh/administration/cli.html
MIT License
221 stars 120 forks source link

Include the SSH certificate in config even if refresh fails #1375

Closed pjcdawkins closed 9 months ago

pjcdawkins commented 9 months ago

The certificate may be available and valid, even if the platform ssh-cert:load --refresh-only command fails for whatever reason. If the command fails then the Match ... exec ... line will cause subsequent statements not to apply. This PR adds a Host <hostname> cancellation line, after the Match ... exec ....