Command reference

oko-cli pty relay-attach

Attaches the current terminal as a viewer of a remotely relayed PTY session.

Invocation

oko-cli pty relay-attach --relay URL --session ID

Inputs and options

  • Required --relay WebSocket URL and --session ID.
  • The relay credential is resolved only from Skarbiec.

Output and state effect

  • Uses raw stdin, forwards terminal resize events, and bridges the remote session.

Refusals and safe exits

  • Refuses --token, missing relay/session values, invalid relay URLs, or an unavailable exact oko-pty-relay credential.