remote-sync
remote-sync copied to clipboard
Support SSH proxy
We have an outbound ssh proxy at work so I can't use the same .remote-sync.json at home and at work. It would nice if Remote-sync supported the proxy command flag.
Bonus points for profile fall-back support, ie: if one profile fails, fall back to the next
fall back to the next
would be complex.
If you just want to stop, you can put "uploadOnSave": false
into .remote-sync.json.
Or if you want to switch the config, I suggest that you rename the correct config file to .remote-sync.json
.
BTW, I did not understand SSH proxy
and the proxy command flag
you said.
At work, we have outbound port 22 blocked and one machine has an exception to serve as a bastion. Right now I can't use remote sync at all from work because I can't tell it to first create a tunnel to the bastion server and then send all ssh requests over that tunnel.
The ssh command allows you to specify a Proxycommand just for this purpose. This page probably explains it better: http://backdrift.org/transparent-proxy-with-ssh On Nov 8, 2014 3:45 AM, "Yongkang Chen" [email protected] wrote:
fall back to the next would be complex. If you just want to stop, you can put "uploadOnSave": false into .remote-sync.json. Or if you want to switch the config, I suggest that you rename the correct config file to .remote-sync.json.
BTW, I did not understand SSH proxy and the proxy command flag you said.
— Reply to this email directly or view it on GitHub https://github.com/vslinko/remote-sync/issues/52#issuecomment-62250569.
A litter complex, BTW, have try useAgent
?
I tried setting it to yes, but no luck. I assume this is supposed to use my ssh config? I couldn't get it to with with any short names defined there either.
I'm not certain, but I think proxy support specifically could be implemented as a command that's executed before any connections are made. Then I could put a command in there to setup a port forward through a tunnel and tell the plugin to use localhost On Nov 12, 2014 3:08 AM, "Yongkang Chen" [email protected] wrote:
A litter complex, BTW, have try useAgent?
— Reply to this email directly or view it on GitHub https://github.com/vslinko/remote-sync/issues/52#issuecomment-62683201.
We use a VPN to access ftp protocol in our dev files and atom can't connect, still "connecting" forever, there is a way i can connect to ftp using a VPN?
Since remote-sync seems to use ssh2 for SSH connections, one you could implement ProxyCommand
-like connection hopping like this 👍
use rmate + remote-atom + ssh proxy command + remote forward Can be used like this
any news here?
Up. Would be incredibly useful