ssh_exec_background
Run long-running SSH commands in a detached background subshell to avoid client timeouts, then poll task logs and status by taskId.
Instructions
Launch long-running command in a detached background subshell (avoids client timeout). Returns a taskId to poll logs and status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional SSH connection target. If omitted, uses default profile (homelab). | |
| command | Yes | Long-running command (e.g. docker compose build, npm build). | |
| taskTag | No | Human-readable tag prefix for taskId (e.g. "deploy", "cronjob"). | |
| workingDir | No | Remote working directory. |