Describe the current, buggy behavior
Given a Docker container called myproject_php_1 that can run WP-CLI commands, the following works as expected:
✅ Including the --ssh flag on the CLI:
wp option get home --ssh=docker:www-data@myproject_php_1`
✅ Using the ssh option for an alias in wp-cli.yml:
---
@local:
ssh: docker:www-data@myproject_php_1
wp @local option get home
However, the following does not work:
❌ Using the ssh option in the root of wp-cli/yml:
ssh: docker:www-data@myproject_php_1
wp @local option get home
This results in the following error:
I don't have much more info at the moment but wanted to report it. I can revisit this when I'm less busy.
Describe the current, buggy behavior
Given a Docker container called
myproject_php_1that can run WP-CLI commands, the following works as expected:✅ Including the
--sshflag on the CLI:✅ Using the
sshoption for an alias inwp-cli.yml:However, the following does not work:
❌ Using the
sshoption in the root ofwp-cli/yml:This results in the following error:
I don't have much more info at the moment but wanted to report it. I can revisit this when I'm less busy.