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
224 stars 121 forks source link

Only use the SSH certificate if available #1370

Closed pjcdawkins closed 6 months ago

pjcdawkins commented 6 months ago

Adds an ssh.cert_only config option which if enabled means only the certificate will be included in config, if a certificate exists, and not the user's "default" public key files (~/.ssh/id_rsa etc.). This is disabled by default. It can be enabled in the config file or in the environment (e.g. export PLATFORMSH_CLI_SSH_CERT_ONLY=1).