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 persist

Manage reusable SSH connections and receiving profiles. Start with Send files home from a server for setup, or see Persistence details for profiles and limits.

syq persist <COMMAND>
CommandPurpose
persist receiveConfigure receiving and decide incoming copy or command requests
persist destinationsInspect or recover named return destinations
persist connectConnect to an SSH server and wait until enabled receiving is ready
persist onEnable persistent connections for later syq commands
persist offDisable persistence and close its live SSH control connections
persist statusShow connection readiness and any receiving problem

Help (also available on subcommands)

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

syq persist receive

syq persist receive <COMMAND>
CommandPurpose
persist receive pendingShow incoming copy and command requests awaiting approval on this machine
persist receive approveAllow one pending request using the ID from persist receive pending
persist receive denyDeny one pending request using the ID from persist receive pending
persist receive onEnable or configure a receiving profile (without –name, use the first profile)
persist receive offDisable receiving and stop its background connections; keep ordinary persistence
persist receive removeRemove a saved receiving profile and stop its connections
persist receive statusShow receiving settings and background connection state
persist receive waitWait for a connection with a deadline

syq persist receive pending

--json prints structured requests. --wait waits for a request, up to --timeout seconds (default 30). Use the returned request ID with approve or deny.

syq persist receive pending [OPTIONS]

Options

Argument / optionMeaning
--jsonSee the command description above.
--waitWait for an incoming request, with a deadline
--timeout <TIMEOUT>[default: 30]

syq persist receive approve

ID is a pending request ID from persist receive pending on this machine. Approval applies to that request only.

syq persist receive approve <ID>

Arguments

Argument / optionMeaning
<ID>See the command description above.

syq persist receive deny

ID is a pending request ID from persist receive pending on this machine.

syq persist receive deny <ID>

Arguments

Argument / optionMeaning
<ID>See the command description above.

syq persist receive on

Omitted settings keep saved values. New profiles ask for approval with desktop prompts and use the home directory. Set --root to confine copies to a directory. Changing settings cancels the profile’s active requests. See profile settings and copy limits.

syq persist receive on [OPTIONS]

Options

Argument / optionMeaning
--approve <APPROVAL>Require local approval for each copy, or explicitly trust connected servers

[possible values: ask, always]
--notify <NOTIFICATIONS>Show desktop prompts, or use only local pending/approve/deny commands

[possible values: desktop, off]
--name <NAME>Create or update this named profile; omitted means the first profile
-C, --cwd <CWD>Default destination directory; absolute paths and .. may select elsewhere
--root <ROOT>Default directory and confinement boundary; refuse paths escaping it
--max-bytes <MAX_BYTES>Maximum bytes one transfer may reserve/write (default: 100G)
--max-entries <MAX_ENTRIES>Maximum entries one transfer may touch (default: 1000000)
--max-delete <MAX_DELETE>Permit pruning up to N entries per transfer (default: 0)

syq persist receive off

Disable the named profile, or all profiles when --name is omitted. This stops incoming requests while leaving forward SSH persistence available.

syq persist receive off [OPTIONS]

Options

Argument / optionMeaning
--name <NAME>Stop only this profile; without –name, stop all profiles

syq persist receive remove

NAME identifies the saved profile to remove. Its connections and requests stop. The last profile can be disabled but cannot be removed; server-side name assignments remain until explicitly forgotten.

syq persist receive remove <NAME>

Arguments

Argument / optionMeaning
<NAME>See the command description above.

syq persist receive status

Show all profiles, or select one with --name. Use --json for structured output.

syq persist receive status [OPTIONS]

Options

Argument / optionMeaning
--jsonSee the command description above.
--name <NAME>See the command description above.

syq persist receive wait

HOST is the SSH server endpoint. Wait for the selected profile, or every enabled profile when --name is omitted. --timeout is in seconds; failure or timeout exits nonzero. This command does not start a connection.

syq persist receive wait [OPTIONS] <HOST>

Arguments

Argument / optionMeaning
<HOST>See the command description above.

Options

Argument / optionMeaning
--name <NAME>Wait for this profile; otherwise wait for every enabled profile
--timeout <TIMEOUT>[default: 30]

syq persist destinations

syq persist destinations <COMMAND>
CommandPurpose
persist destinations listPrint registrations and whether their receiving laptop responds
persist destinations forgetRemove an offline destination name so another laptop can register it
persist destinations waitWait for a connection with a deadline

syq persist destinations list

syq persist destinations list

syq persist destinations forget

NAME is an offline receiving name to release before replacing its machine. Forgetting a live connection is refused.

syq persist destinations forget <NAME>

Arguments

Argument / optionMeaning
<NAME>See the command description above.

syq persist destinations wait

NAME is a receiving name without @. Wait up to --timeout seconds for it to respond; timeout exits nonzero.

syq persist destinations wait [OPTIONS] <NAME>

Arguments

Argument / optionMeaning
<NAME>See the command description above.

Options

Argument / optionMeaning
--timeout <TIMEOUT>[default: 30]

syq persist connect

Connect to HOST and wait for receiving to be ready. --timeout applies to the receiving wait after SSH and helper setup. --syq-path and --no-bootstrap cannot combine. Use --pscope for an existing ephemeral scope.

syq persist connect [OPTIONS] <HOST>

Arguments

Argument / optionMeaning
<HOST>SSH endpoint ([USER@]HOST[:PORT]); receiving names are not accepted

Options

Argument / optionMeaning
--syq-path <PATH>Use this remote syq executable instead of installing a matching helper
--no-bootstrapUse syq on the remote PATH instead of installing a matching helper
--timeout <TIMEOUT>Wait this many seconds for receiving after SSH/helper setup

[default: 30]
--pscope <PATH>Reuse forward SSH in an existing ephemeral scope, without enabling receiving

syq persist on

syq persist on [OPTIONS]

Options

Argument / optionMeaning
--ephemeralCreate an ephemeral scope and print its path instead of changing the user setting

syq persist off

syq persist off [OPTIONS]

Options

Argument / optionMeaning
--pscope <PATH>Operate on this ephemeral persistence scope instead of the user setting

syq persist status

Inspect connections without starting them. --json uses the connection-status contract. --pscope selects an ephemeral scope.

syq persist status [OPTIONS]

Options

Argument / optionMeaning
--jsonPrint structured connection state
--pscope <PATH>Inspect this ephemeral persistence scope instead of the user setting