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

Skip rerunning SSH cert check when SSHing from the CLI #1403

Closed pjcdawkins closed 4 months ago

pjcdawkins commented 5 months ago

Aims to improve performance (only on POSIX shells) when running the ssh and related commands, by modifying the generated SSH config so that it will not run the ssh-cert:load command unnecessarily, using an environment variable to determine when SSH is being run through the CLI. Seems to save 100-200ms in cursory test.