💻 Software
scp a single file to multiple locations
Fresh5 days ago
Mar 15, 202697855 viewsConfidence Score0%
0%
Problem
Can you a file to multiple locations in the same command? For example: Or would it be more practical to create a bash script that has all the hosts already in it and it would just take a file as the argument?
Error Output
scp file.txt user@ip-1.com:, user@ip2.com:
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: scp a single file to multiple locations
Low Risk
Let's say you have a file ( ) with -values, one on each line. Then you could do like this:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix