Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to encourage use of SSH ProxyCommand config #14

Open
westonruter opened this issue Apr 16, 2014 · 1 comment
Open

Update docs to encourage use of SSH ProxyCommand config #14

westonruter opened this issue Apr 16, 2014 · 1 comment

Comments

@westonruter
Copy link
Contributor

Instead of having the wp-cli.yml SSH config contain multiple ssh commands chained together:

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 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%
@jonathanbardo
Copy link
Contributor

That is pretty useful and does indeed remove a little clutter!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants