I've tried a few things to manually push out a script as a test from one of my primary machines to a test machine. I have a McAfee agent that I just obtained from McAfee, and I'm simply trying to remember what I did via terminal to push it out from my primary machine. Well, I finally figured it out. But now I want to execute the script on the test machine from the primary machine, so that I can install it.
What I'm trying to do is just create a script or use a command that will allow me to push out my shell script (which is on my desktop), out to the test machine, then execute the shell script on the test machine to install itself.
* Let me add that, I've tried on a few occasions to run: chmod +x install.sh, and I never got passed an error that stated:
chmod: script1.sh: No such file or directory
what am I doing wrong here?
Any help would be appreciated.