I need to run a script that sshs to another machine on my local network,(I've RSA key paired them), after sshing in, I need to run a command and get the results of the command in the local script (to parse), and then run another command built from some of the info from the first command.
Here is a step by step account of what I want to do:
sshinto a machine running FileMaker Server 11- get a list of the clients
- search for a certain client
- if that client is logged on, get its ID from the list
- send a Disconnect ID command to the FileMaker server
- exit out.
Hope this isn't too garbled.