Remote Login and RCP

I’m trying to obtain the system profile logs of each machine on our network.

I connect through terminal and login as admin and run the following command:

system_profiler > /Users/User/Documents/Profile.txt

When I try and use the rcp command to copy the file between machines I get a time out error. any ideas? Should I be running the rcp command in the remote window or the local machine window?

I’d like to put this in a script once its all dialed in so any other ideas would be helpfull!

Cheers