ssh_exec_kill
Send a signal to terminate or interrupt a background SSH job by its job ID, with an optional cleanup to remove the job's log directory.
Instructions
Send a signal to a background job started with ssh_exec background=true. Optionally remove the job log directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by ssh_exec background=true. | |
| signal | No | Signal name or number to send to the process group (e.g. SIGTERM, SIGKILL). | SIGTERM |
| cleanup | No | Remove the job log directory after signaling. |