in reply to Re^4: back tick to do ssh
in thread back tick to do ssh
But if the remote actions need to vary for whatever reason, your local perl script could probably build the necessary script that would need to run on the remote machine, save it to a local file, "scp" it to the remote box, and then run it via ssh in backticks. (But usually you can set it up so only one version of the remote script is needed, and it uses command-line args to handle the necessary variations.)
|
|---|