Skip to content

Remote Access, E2E Security & Self-Hosting

Step away from your desk and keep steering AI agents from your phone or another laptop. Choose account-free LAN direct pairing, the official zero-knowledge relay, or a self-hosted Octopus Server.

  • Remote Control
  • E2E Encryption
  • ECDH + AES-256-GCM
  • LAN Direct
  • Self-Hosting
  • Cloud Hosts
7 min readUpdated
TL;DR

Octopus offers three remote access modes: account-free LAN direct pairing, the official zero-knowledge relay (octoterm.si), and self-hosted Octopus Server. Every mode uses the same ECDSA P-256 + ECDH + HKDF-SHA256 + AES-256-GCM end-to-end encryption so private keys never leave your devices.

Three Remote Access Modes

Whether your devices share an office Wi-Fi or connect across cellular networks, Octopus offers three transport modes that share the exact same end-to-end encryption protocol:

ModeAccount RequiredPairing FlowBest For
LAN DirectNoOne-time 6-digit code, QR code, or octopus://pairZero-latency direct access on office Wi-Fi, home LAN, or personal VPN.
Official Relay (octoterm.si)YesSame account + 8-char Device Access Password (zero-knowledge proof)Cross-network access from iOS/Android over 5G with no public IP or port forwarding.
Self-Hosted Octopus ServerYour own instanceScan or click octopus://relay to configure custom serverEnterprises, compliance-sensitive teams, and self-hosters who own their relay infrastructure.

End-to-End Encryption & Cryptographic Guarantees

Terminal and coding-agent sessions contain source code, secrets, and production commands. Octopus enforces a zero-knowledge relay architecture where the relay only forwards opaque ciphertext frames.

Device-Local ECDSA P-256 KeysIdentity

Every desktop and mobile client generates its own ECDSA P-256 identity keypair locally. Private keys never leave the device.

Ephemeral ECDH P-256 + HKDF-SHA256Key Exchange

Each session derives fresh ephemeral shared keys via ECDH P-256 and HKDF-SHA256 for forward secrecy.

Per-Frame AES-256-GCMTransport

Terminal I/O, ACP timelines, permission decisions, and remote file diffs are encrypted and authenticated frame by frame with AES-256-GCM.

PBKDF2 + HMAC Zero-Knowledge ProofDevice Password

The 8-character Device Access Password lives in the host keychain and is verified end to end via PBKDF2-SHA256 + HMAC-SHA256—never sent to or stored by the relay.

Instant Device Revocation

Inspect paired device fingerprints and revoke access anytime under Desktop Settings → Remote Access → Authorized Devices. Default quota is 5 devices across desktops and phones.

Mobile Takeover Workflow (iOS & Android)

  1. Enable remote access on Desktop

    Open Settings → Remote Access on Octopus Desktop, enable LAN Direct (no account) or sign in to enable encrypted relay access.

  2. Pair and authorize your phone

    Scan the QR code or type the 6-digit code on LAN; over relay, sign in to the same account and enter your desktop's 8-character Device Access Password once.

  3. Review, approve & dictate anywhere

    Approve ACP tool cards, dictate follow-up prompts by voice, use full terminal shortcuts, and inspect remote files or Git diffs from your phone.

Self-Hosting Octopus Server

Teams and individuals can deploy Octopus Server on their own Linux host or private cloud, then onboard clients via octopus://relay or the custom-server option on sign-in.

yamlExample Docker Compose setup for self-hosted Octopus Server
services:
  octopus-server:
    image: ghcr.io/aidotnet/octopus-server:latest
    restart: unless-stopped
    ports:
      - "8080:8080"
    environment:
      - ASPNETCORE_ENVIRONMENT=Production
      - OCTOPUS_PUBLIC_URL=https://relay.example.com
    volumes:
      - ./data:/app/data
textOne-click team relay configuration deep link
octopus://relay?v=1&url=https://relay.example.com&name=TeamRelay

Terminate TLS (HTTPS / WSS) in front of the server

Always place Octopus Server behind a TLS reverse proxy (Nginx, Caddy, or Traefik). Even though session frames are AES-256-GCM E2E encrypted, TLS protects sign-in and transport metadata.

Octopus Cloud Host Plans

In addition to your own machines, Octopus offers managed cloud hosts with persistent disks, private port previews, and instant desktop/mobile takeover:

PlanMonthlyCompute & StorageAvailability & Quotas
Free$02 vCPU / 4 GB RAM / 20 GB Disk / 100 GB TrafficHibernates after 30 min idle (persistent disk), 1 GiB relay traffic, 5 devices
Pro$20/mo4 vCPU / 8 GB RAM / 100 GB Disk / 500 GB TrafficAlways-on paid pool, 20 GiB relay traffic, 10 devices, daily S3 backups
Builder$50/mo8 vCPU / 16 GB RAM / 200 GB Disk / 2 TB TrafficAlways-on paid pool, 100 GiB relay traffic, 15 devices, priority email support
Max$100/mo16 vCPU / 32 GB RAM / 500 GB Disk / 5 TB TrafficAlways-on paid pool, 500 GiB relay traffic, 30 devices, priority support + SLA

Note: Octopus Desktop and Mobile are free and open source for local use. Check Pricing for current paid-plan availability.

Frequently Asked Questions

Is the 8-character Device Access Password ever sent to the relay server?
No. Authorization runs end to end between your two devices using PBKDF2-SHA256 + HMAC-SHA256 proof. The relay never receives or stores the password.
Do files disappear when a free cloud host hibernates?
No. Free cloud hosts hibernate after 30 minutes of inactivity while preserving their persistent disk volume, and automatically wake when you reconnect.

Octopus WeChat group

Scan with WeChat to join the (Chinese-speaking) community group for tips, feedback and release news.

QR code expired? Let us know in a GitHub issue.