server
turnout server <add|list|show|edit|remove> [...]A server is a machine: its base URL, the SSH host and port, a TLS policy and a human-friendly label. Who logs in is a credential, and where files land is a path - a server points at both by name. See Entities.
turnout server add [NAME] [--url URL] [--label TEXT] [--host HOST[:PORT]] [--credential NAME] [--insecure]| Flag | Short | Description |
|---|---|---|
--url |
-u |
Base URL, e.g. https://staging.example.com |
--label |
-l |
Human-friendly label |
--host |
-H |
SSH host and port when they differ from the URL’s host |
--credential |
-c |
Credential used to log in here |
--insecure |
-i |
Accept self-signed or invalid TLS certificates for this server |
--host is optional: with no value, SSH connects to the URL’s own host on port 22, which is right for most stands. Set it when the stand answers HTTP on one name and SSH on another, or on a non-standard port.
With NAME or --url missing, an interactive wizard asks for each field, including which credential to use and whether to accept self-signed TLS certificates.
turnout server add # wizardturnout server add staging --url https://staging.example.com --label "Team staging"turnout server add prod --url https://prod.example.com --host ssh.prod.example.com:2200turnout server add lab --url https://10.0.0.42 --insecure # self-signed certturnout server add lab -u https://10.0.0.42 -i # same, short formlist / show
Section titled “list / show”turnout server list # one line per server: name, URL, labelturnout server show prod # full card: URL, SSH, credential, deploy paths, which apps use itOmit the name on a terminal and turnout offers a picker; edit and remove do the same.
turnout server edit prod # interactive wizardturnout server edit prod --url https://prod-eu.example.comturnout server edit lab --secure # require valid TLS certificates againturnout server edit lab --insecure # accept invalid TLS certificates| Flag | Short | Description |
|---|---|---|
--url |
-u |
Base URL |
--label |
-l |
Human-friendly label |
--host |
-H |
SSH host and port (empty value falls back to the URL’s host) |
--credential |
-c |
Credential used to log in here (empty value unsets it) |
--insecure |
-i |
Accept invalid TLS certificates for this server |
--secure |
-S |
Require valid TLS certificates for this server |
--deploy-path |
-d |
Point an app at a named path as APP=PATH, or APP= to remove (repeatable) |
Who logs in, and where each app’s files land:
turnout server edit prod --credential prod-deployturnout server edit prod --deploy-path myapp=wwwrootturnout server edit prod --deploy-path myapp= # unlink the pathturnout server edit prod -c prod-deploy -d myapp=wwwroot # same, short formBoth halves have to exist first: the app in the catalog, the path in the path catalog. A name with nothing behind it is refused rather than stored, because a deploy would only discover it later.
remove
Section titled “remove”turnout server remove staging [--yes]Apps that allowed this server are updated automatically - the name is removed from their allow-lists.
Credentials and paths are left alone: they are shared, and a login that also reaches three other stands should not disappear with one of them. Remove them explicitly with turnout credential remove and turnout path remove.