Kill the remote tmux session of a runner handed off to an SSH target, stopping that runner daemon immediately and without a confirmation prompt.
pks agentics runner stop [TARGET] [options]$ pks agentics runner stop hetznerStop the remote runner on a target
$ pks agentics runner stop hetzner --project myorg/myprojectDisambiguate when several projects share a target
runner stop ends a runner that was handed off to an SSH target by killing its remote tmux session. It stops the daemon and nothing else — containers and volumes the runner created stay where they are.
pks agentics runner stop hetzner
There is no confirmation prompt — the session is killed immediately. Target and project resolution match runner status: omitting TARGET auto-selects the only registered target or opens an interactive picker when more than one is registered, and --project is required when several projects share the target.
pks agentics runner stop hetzner --project myorg/myproject
pks agentics runner status hetzner
The session should report as exited.
Stopping the session leaves any devcontainers the runner spawned behind. Run pks agentics runner cleanup on the remote machine separately when you want them gone.
| Flag | Description |
|---|---|
--project <owner-project> | Disambiguate when more than one project was handed off to this target. |
-v, --verbose | Enable verbose output. |
| Argument | Required | Description |
|---|---|---|
TARGET | no | SSH target label or host. Auto-selected when only one target is registered; an interactive picker is shown otherwise. |
ssh first, then confirm with runner status.