Skip to content

Instantly share code, notes, and snippets.

@anuragkh
Created September 19, 2015 19:49
Show Gist options
  • Save anuragkh/20d6dd47c863a925ccdc to your computer and use it in GitHub Desktop.
Save anuragkh/20d6dd47c863a925ccdc to your computer and use it in GitHub Desktop.
while read server
do
scp -i cqlkeypair.pem -r -oStrictHostKeyChecking=no $1 ubuntu@$server:~/ &
done < servers
wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment