I am using RHEL 6.4
Regarding an earlier post where I discovered that I could run a remote script from my host as follows:
putty -t user@host -pw password -m local_commands_file
I want to write a script that will either:
1> Copy a file from the calling machine to the remote machine
2> Copy a file from one remote machine to another
How can I do this ?