mmretail / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
0 stars 0 forks source link

Bandwith limit with pscp (parallel scp) #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I would like limit the bandwidth pscp may use when copying.
This is very useful if we want to copy a huge amount of data
without suffering from slow network for a long time. 

Limiting bandwidth is done asily be achieved using the "scp -l" switch.

Could you implement a new swicth (to pscp) to pass the bandwith option to scp?

Original issue reported on code.google.com by frphoe...@gmail.com on 30 Dec 2013 at 4:34

GoogleCodeExporter commented 8 years ago
You should be able to use the "-x" and/or "-X" options to pass options to pscp 
that are "forwarded" to scp. Thanks to these options, there doesn't need to be 
a a custom pscp option for each and every possible scp option. Does this help 
answer your question? Thanks.

Original comment by amcn...@google.com on 30 Dec 2013 at 4:40

GoogleCodeExporter commented 8 years ago
Yes; it make sense to use these options. Thanks.

Original comment by frphoe...@gmail.com on 30 Dec 2013 at 4:58

GoogleCodeExporter commented 8 years ago
Great!

Original comment by amcna...@gmail.com on 30 Dec 2013 at 5:33

GoogleCodeExporter commented 8 years ago
But how can I transfer -l option to scp, when -l is also used by pscp for 
different purpose?
I am trying to run pscp -l 100 ... but it doesn't work.
Can somebody give an example?

Original comment by kalin...@gmail.com on 14 Nov 2014 at 8:57