Open westonruter opened 10 years ago
Instead of having the wp-cli.yml SSH config contain multiple ssh commands chained together:
wp-cli.yml
ssh
cmd: ssh %pseudotty% util.example.org ssh %pseudotty% prod-util.example.org %cmd%
You can instead update your SSH config to include a ProxyCommand
ProxyCommand
ProxyCommand ssh -q util.example.org nc -q0 prod-util.example.org
So that the YML can be more simply:
cmd: ssh %pseudotty% prod-util.example.org %cmd%
That is pretty useful and does indeed remove a little clutter!
Instead of having the
wp-cli.yml
SSH config contain multiplessh
commands chained together:You can instead update your SSH config to include a
ProxyCommand
So that the YML can be more simply: