Take the 2-minute tour ×  I am doing some distributed work with
RackSpace cloud servers and I am using bittorrent to distribute
my files. It works surprisingly well. However, distributing the
torrent files themselves are not so nice. How would you go
around doing that? Right now I just scp the torrent files to the
servers, and of course I could write a script that copies it to
sqrt(n) servers instructing each to again copy to sqrt(n) but
that's a pita to work it.  share|improve this question add
comment  4 Answers  up vote 23 down vote accepted  Not knowing
what exactly your problem is, I can recommend pscp from
parallel-ssh as a tool to upload small files to multiple
servers.  You prepare a list of servers to upload to and let it
know what to take locally and where to put it remotely. For
example:  $ pscp -h list-of-servers file.torrent /tmp/ [1]
02:11:22 [SUCCESS] [2] 02:11:22 [SUCCESS] [3] 02:11:22 [SUCCESS]
[4] 02:11:22 [SUCCESS] [5] 02:11:22 [SUCCESS] [6] 02:11:22
[SUCCESS] [7] 02:11:25 [FAILURE] Exited