I would like to know if it is possible to have a pi automatically SEND a command over SSH to another machine when a certain condition occurs.
Lets say if the temperature gets too hot then the pi can send a shutdown signal to a heater or server via an SSH link.
I would assume it can be done, but how would you do this in practice? (I know about the measurement side, it's just how to send a given SSH command from the pi I am stuck with).
Thanks if you can help!
Skywatch.