CLICommand referenceserver

server

Commands, arguments, and options for synq server.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

synq server

Manage self-hosted SSH servers

synq server [options] [command]
SubcommandPurpose
list|lsList servers in the active organization
add [options]Add a new server
rm|remove <id>Delete a server
test-connection|test [options]Test an SSH connection without saving it
check [options] <serverId>Run component health checks against a saved server
update [options] <serverId>Check for and apply native-module migrations (OpenResty, …), or change the server's connection hostname
install [options] <serverId>Install components on a server
install-session [sessionId]Inspect a server installation session
install-respond [options] <sessionId>Respond to an installation prompt
rate-limit [options] <serverId>Read or update per-server OpenResty rate limiting
monitor <serverId>Stream live system stats (SSE)
ssh <serverId>Open an interactive SSH terminal (coming soon)

synq server add

Add a new server

synq server add [options]
OptionMeaning
--host <host>SSH host / IP
--name <name>Display name
--port <port>SSH port (default: "22")
--user <user>SSH user (default: "root")
--auth-method <method>Auth method (password|key|agent)
--password <password>SSH password (password auth)
--key-path <path>Path to private key (key auth)
--key-passphrase <passphrase>Private key passphrase
--jump-host <host>SSH jump / bastion host
--ssh-args <args>Extra raw ssh args

synq server check

Run component health checks against a saved server

synq server check [options] <serverId>
OptionMeaning
-c, --component <name...>Limit to specific components

synq server install

Install components on a server

synq server install [options] <serverId>
OptionMeaning
-c, --component <name...>Components to install (docker|git|edge|rsync)
--followStream install logs live (SSE)

synq server install-respond

Respond to an installation prompt

synq server install-respond [options] <sessionId>
OptionMeaning
--action <action>Action id offered by the prompt

synq server install-session

Inspect a server installation session

synq server install-session [options] [sessionId]

synq server list

List servers in the active organization

synq server list|ls [options]

synq server monitor

Stream live system stats (SSE)

synq server monitor [options] <serverId>

synq server rate-limit

Read or update per-server OpenResty rate limiting

synq server rate-limit [options] <serverId>
OptionMeaning
--rps <n>Requests per second (0 removes the limit)
--burst <n>Burst allowance
--whitelist <cidr...>CIDRs exempt from limiting

synq server rm

Delete a server

synq server rm|remove [options] <id>

synq server ssh

Open an interactive SSH terminal (coming soon)

synq server ssh [options] <serverId>

synq server test-connection

Test an SSH connection without saving it

synq server test-connection|test [options]
OptionMeaning
--host <host>SSH host / IP
--port <port>SSH port (default: "22")
--user <user>SSH user (default: "root")
--auth-method <method>Auth method (password|key|agent)
--password <password>SSH password
--key-path <path>Path to private key
--key-passphrase <passphrase>Private key passphrase
--jump-host <host>SSH jump / bastion host
--ssh-args <args>Extra raw ssh args

synq server update

Check for and apply native-module migrations (OpenResty, …), or change the server's connection hostname

synq server update [options] <serverId>
OptionMeaning
-c, --component <name...>Limit to specific modules
--checkOnly report drift; don't apply
--public-hostname <hostname>Connection hostname shown in database URLs, published ports and SSH tunnel commands instead of the IP ("none" clears it)

On this page