Sorry, this may be painfully simple, but I have no idea where to start. I want to create an applescript to ssh into another machine and run a command. Here's what I have been doing:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent
Can I put all of this into a script? Not concerned about the safety of the password. I would also like to be able to do this 4 times to 4 different machines.
If not applescript, is there something I can use to do this?