HomeTutorials › Upstream & Remote
Upstream & Remote

Remote Control

#097 0:13 Part of the Rysh video series

In control mode you don't just watch -- you can drive the remote pane yourself.

Remote Control — 0:13 walkthrough

What you'll see

  1. Launch rysh and double-Escape into rysh mode.
  2. ##upstream subscribe abc123 control requests two-way access to a control-mode share.
  3. ##upstream send ls -la pushes text to the remote pane; the server validates subscriber, mode, and blocklist.
  4. ####pane info runs the ##pane info rysh command on the source pane (four-hash prefix).
  5. With command_approval set, each command waits for the owner's approval before executing.

Commands shown

rysh
##upstream subscribe abc123 control
##upstream send ls -la
####pane info
##upstream send git status

Keys used

EnterEscape

Transcript

0:00In control mode you don't just watch -- you can drive the remote pane yourself.

0:03Start rysh and double-Escape into rysh mode. First we subscribe to a share in control mode.

0:27Want to run a rysh command on the source pane? Prefix it with four hashes -- ####pane info runs ##pane info remotely.

0:37If the owner set command_approval, each command waits for their yes before it executes. Safety stays with the pane's owner.

0:42Control mode turns a remote share into true pair programming -- gated by the owner's rules.

Key takeaway
A control-mode subscriber uses ##upstream send <text> for input and ####<command> to run ##<command> on the source pane, all gated by server validation and optional owner approval.