Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

These docs describe unreleased changes on master. Read the latest stable documentation.

syq exec

Run a command on a connected receiving machine, with approval on that machine:

syq exec --on @laptop --cwd work/project -- cargo test

Put -- before the program and its arguments; use sh -c for shell syntax. The program runs with the receiving user’s permissions. See Run commands on your receiving machine for setup, output, and cancellation.

syq exec [OPTIONS] --on <@NAME> -- <PROGRAM>...

Arguments

Argument / optionMeaning
<PROGRAM>...Program and literal arguments; use sh -c explicitly for shell syntax

Options

Argument / optionMeaning
--on <@NAME>Receiving name; requires a live return connection (never falls back to SSH)
-C, --cwd <DIR>Working directory on that machine, relative to its receiving directory

[default: .]

Help and version

Argument / optionMeaning
-h, --helpShow common usage and options
--help-allShow all options and details