Skip to content

ssh

ssh

Single-host SSH allocation and dispatch.

SSHConfig(ssh: str, cluster: str, type: Literal['plain'] = 'plain', chips: dict[str, int] = dict(), uv_groups: list[str] = list(), env: dict[str, str] = dict()) dataclass

One machine available for direct execution over SSH.

SSHProvider(name: str, host: SSHConfig) dataclass

Bases: Provider

Allocate and launch work on exactly one SSH machine.

solve(execution: Combobulation, config: DispatchConfig, timeout: float = 30.0) -> HardwareResult | None

Return this host when it alone satisfies the execution request.

ship(spec: DispatchSpec, config: DispatchConfig, timeout: float = 30.0) -> ShipResult

Publish one immutable dispatch and idempotently launch it over SSH.