node-rsync icon indicating copy to clipboard operation
node-rsync copied to clipboard

How to use a jump host in this library

Open cvashivably opened this issue 3 years ago • 1 comments

I have a local host A connected to server B and server B is connected to server C. Now I wanted to rsync files from local host A to C, will this library support it? This is not an issue rather wanted to know how this can be achieved using your library.

cvashivably avatar Jul 01 '22 17:07 cvashivably

@cvashivably I believe that should be possible by following instructions here. This library can build any rsync command you would use on the command line so in theory it should be possible. To simplify your life perhaps it would be easier if you could SSH directly from A -> C without going through B though I do realize there could be security concerns and other uniqueness to your environment that would prevent that.

https://superuser.com/questions/1115715/rsync-files-via-intermediate-host

jhundley9109 avatar Aug 31 '22 13:08 jhundley9109