#!/bin/sh #TODO: set pid then: # ssh hostname 'kill -TERM $pid'