Skip to content

SSH Hosts

The ssh Provider connects directly to Docker or Podman on any Linux host you can reach over OpenSSH (including Tailscale, WireGuard, or bastion ProxyJump configs in ~/.ssh/config) using native ssh -W Unix-socket forwarding—no pre-installed remote service or exposed TCP Docker port required.

  • Local OpenSSH client (ssh)
  • A remote Linux host (x86_64 or aarch64) running Docker or Podman with your SSH user allowed to access the container socket (default /var/run/docker.sock)
Terminal window
offrig rig add homelab --provider ssh \
--host dev@build-01.ts.net \
--default

Custom socket path (for example rootless Podman) and idle timeout:

Terminal window
offrig rig add homelab --provider ssh \
--host dev@build-01.ts.net \
--socket /run/user/1000/podman/podman.sock \
--idle-minutes 20

Equivalent ~/.config/offrig/config.toml:

default_rig = "homelab"
[rigs.homelab]
provider = "ssh"
host = "dev@build-01.ts.net"
socket = "/var/run/docker.sock"
idle_minutes = 15
allow_host_docker = false
Terminal window
offrig rig doctor homelab

offrig verifies OpenSSH reachability, container daemon version, target architecture, and matching bundled offrigd sidecar SHA-256.