hjmangalam / parsyncfp

follow-on to parsync (parallel rsync) with better startup perf
Other
161 stars 19 forks source link

Unable to specify a custom SSH port #28

Closed youvegotmoxie closed 2 years ago

youvegotmoxie commented 4 years ago

I'm trying to use parsyncfp on a host which listens on a non-standard SSH port. With rsync this can be done by using --rsh="ssh -p $PORT, however, when trying to use that within --rsyncopts parsyncfp tries to evaluate -p as a passed parameter which results in an error.

Do you have any suggestions on how I could accomplish this or perhaps add in support for this natively in the tool?

hjmangalam commented 4 years ago

While it may be a parsyncfp problem, it more probably sounds like a bash quoting problem. Can you include the exact commandline you used to try this?

hjm

On Saturday, October 19, 2019 8:00:43 PM PDT Michael Beasley wrote:

I'm trying to use parsyncfp on a host which listens on a non-standard SSH port. With rsync this can be done by using --rsh="ssh -p $PORT, however, when trying to use that within --rsyncopts parsyncfp tries to evaluate -p as a passed parameter which results in an error.

Do you have any suggestions on how I could accomplish this or perhaps add in support for this natively in the tool?

Harry Mangalam, Info[1]


[1] http://moo.nac.uci.edu/~hjm/hjm.sig.html

hjmangalam commented 4 years ago

Any follow-up on this? Happy to try to answer but I need the exact command.