Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
I am not sure I understand what you are trying to do here, but for what it is worth...
Between two Linux machines: rsync is the best tool for updating files. scp works better for sending files that are new. lftp can speak the language of scp, sftp, ftp, and others and is a good general tool for automating transfers.
For remote execution ssh (ssh, scp, and sftp are all in the OpenSSH package set) is the best tool. It can be used for both automated and interactive executions, with and without sessions, and is an excellent replacement for telnet, rlogon, rsh (the original and insecure R* set of remote access tools).
Depending upon what you want to accomplish, you are likely to find a multitude of HOW-TO documents and wiki entries on almost anything you may want to accomplish with these tools.