remsh hostname command
This command runs a ``remote shell'' which executes a command for you.
I/O redirection works as usual using the >, >>, <, <<
operators to redirect input and output to and from the remotely
executed command to local(!) files.
If you want to redirect the input and output to remote files use
double quotes " " around the redirection operators.