I find host2 received myfile.txt, but host1 did not. I'm usually too lazy to read manpages, but it seems to agree with my syntax: for i in host1 host2 etcetera do scp ...