Is it possible to copy a file on multiple remote machines through scp in one command?

link|improve this question
feedback

migrated from stackoverflow.com Mar 7 '11 at 12:28

This question came from our site for professional and enthusiast programmers.

3 Answers

Consider using rdist.

link|improve this answer
feedback

PSSH provides a variety of tools that can do ssh, scp, rsync, etc operations on a cluster of machines.

link|improve this answer
Is it possible to use wildcard characters with IP addresses in scp – Shweta Mar 7 '11 at 11:36
@shweta, not with scp itself. (a) You need to take direct yes/no action over every initial connection with scp (b) scp itself sure won't do this, as @raghuram points out, which is why there are a variety of tools like pssh to automate connecting to multiple machines simultaneously. – sarnold Mar 7 '11 at 11:42
feedback

No

link|improve this answer
feedback

Your Answer

 
or
required, but never shown