Check the remote tmux session of a runner handed off to an SSH target, see its last output lines, and get warned about a missing credentials volume.
pks agentics runner status [TARGET] [options]$ pks agentics runner status hetznerShow the remote runner session on a target
$ pks agentics runner status hetzner --project myorg/myprojectDisambiguate when several projects share a target
When a runner is handed off to a registered SSH target, it runs inside a tmux session named after the owner/project. runner status captures that session's pane and tells you whether the runner is alive, what it printed last, and whether the target is missing the Claude credentials volume a headless devcontainer spawn needs.
runner start on an interactive console. The local registration then records the SSH target label.pks ssh register or created by pks vm init.tmux capture-pane over SSH exclusively — never systemd.pks agentics runner status hetzner
The output reports whether the session is present (it has output) or has exited, followed by the last 10 lines of the pane. For the whole buffer, use runner logs.
Omitting TARGET auto-selects the only registered SSH target, or opens an interactive picker when more than one is registered — so non-interactive callers must always pass it.
If more than one project was handed off to the same target, the command lists the ambiguous matches and exits 1. Name the project:
pks agentics runner status hetzner --project myorg/myproject
The command also checks whether the target's Claude credentials Docker volume for this owner/project appears to be missing. A missing volume means a headless devcontainer spawn there stalls on an interactive OAuth login that nobody can complete. Fix it with runner claude-login.
A healthy target prints a present session, recent runner output such as poll cycles, and no credentials-volume warning.
| 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. |
runner start.--project owner/project.runner claude-login against the same target and project, so the volume names match.