yachiyo remote
These commands talk to the running desktop app and print JSON. Start Yachiyo before using them. For Connect activation and phone pairing, use Settings → Remote; see the Remote access guide.
remote status
Section titled “remote status”yachiyo remote status| Field | Meaning |
|---|---|
enabled | Whether Remote is enabled in saved settings |
running | Whether the local Remote server is listening |
tunnel | relay, quick, named, or none |
port | Active local port, or null when the server is stopped |
endpoints | Advertised tunnel, external, or LAN addresses |
relay | Connect activation and connection state, with its service address |
cloudflared | Binary path, managed process state, hostname, and whether a user configuration blocks quick tunnels |
icloudDrive | available or unavailable; address recovery is macOS-only |
pairings | Number of saved phone pairings |
connections | Number of active phone connections |
For Connect, check relay.connected; its public route is not listed in
endpoints. running describes the local server. A running tunnel process or
saved hostname does not confirm public reachability. Verify access on the phone.
remote tunnel install
Section titled “remote tunnel install”Installs or replaces a managed Cloudflare tunnel and enables Remote access. It returns the current status; address discovery can finish after the command. Wait for an address before pairing.
Install cloudflared using the
Cloudflare downloads guide.
On macOS, the bundled yachiyo-remote skill can
prepare HTTP/2 and the automatic-recovery watchdog before installing the tunnel.
On Windows, ensure cloudflared.exe is on the app’s PATH and restart Yachiyo
after installation.
Quick tunnel
Section titled “Quick tunnel”yachiyo remote tunnel install --mode quickCreates a temporary Cloudflare address without a Cloudflare account. The
address can change when the tunnel restarts. If ~/.cloudflared/config.yaml
exists, installation fails; use a named tunnel instead of deleting that file.
Named tunnel
Section titled “Named tunnel”Create a named tunnel and its DNS route using Cloudflare’s locally managed tunnel guide. Yachiyo will generate its own ingress configuration and run the tunnel. Once the tunnel and DNS route exist, use:
yachiyo remote tunnel install --mode named --tunnel <name> --hostname <host>Use the existing tunnel’s name and its hostname, such as remote.example.com.
Both flags are required. Yachiyo writes its own ingress configuration without
replacing your user-level Cloudflare configuration.
On macOS, managed tunnels run as a user LaunchAgent. On Windows, the desktop app owns the process, so it stops when the app exits. Linux does not support these install commands; use Connect or an external endpoint.
Reinstalling replaces the current tunnel process and interrupts access. Keep the same mode, tunnel name, and hostname when repairing an existing setup. Reinstalling does not revoke paired phones, but a changed quick-tunnel address requires address recovery or a new pairing code.
remote tunnel uninstall
Section titled “remote tunnel uninstall”yachiyo remote tunnel uninstallStops and removes the managed tunnel, then changes tunnel to none. It keeps
Remote enabled and preserves pairings. A configured external endpoint or LAN
access can still work. It does not remove a tunnel you manage outside Yachiyo.
To stop all Remote connections, turn off Remote access in Settings and save.
remote pairings list
Section titled “remote pairings list”yachiyo remote pairings listReturns the paired phones. Each entry contains pairingId, deviceName,
createdAt, and an optional lastSeenAt. Use pairingId when revoking access.
remote pairings revoke
Section titled “remote pairings revoke”yachiyo remote pairings revoke <pairingId>Revokes that phone’s access and disconnects it immediately. The response contains
revoked, a boolean. The phone needs a new pairing code to return.
For connection methods, address recovery, and notification setup, see
Remote access. Saved settings are listed under
[remote].