welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 165 forks source link

Gateway params in Movefile #175

Closed jmsilcom closed 7 years ago

jmsilcom commented 9 years ago

hi there. Can u tell me more about "gateway" under SSH part in Movefile? What is the utility of this option ?

Thanks in advance.

alessandro-fazzi commented 9 years ago

Hello!

Those options (implemented at the begigging of the time I think :) ) are an interface against another gem: https://github.com/net-ssh/net-ssh-gateway which is a Wordmove's dependency.

I suppose is intended to connect into a bastion server through SSH (the gateway) and then to the final server (probably inside a private network.

DevMachine----------ssh------>GATEWAY----------ssh--------->REMOTE ENVIRONEMENT (here we'll do the deploy)

I'll ask if any colleague knows more about it, since personally never used (I have ProxyCommand ssh's config on my laptop when needed)

Cheers!