landfall 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/cli.mjs +96 -89
- package/dist/index.html +109 -15
- package/dist/server-Cj2NicZ7.mjs +9 -0
- package/package.json +1 -1
- package/dist/server-BxTFpFmw.mjs +0 -9
package/README.md
CHANGED
|
@@ -415,7 +415,7 @@ lf server add vps # register an existing s
|
|
|
415
415
|
lf server add box --host 198.51.100.4 -u ubuntu -i ~/.ssh/box --default
|
|
416
416
|
lf server add web --host 198.51.100.5 -u admin # asks the password once, installs ~/.ssh/landfall_web
|
|
417
417
|
lf server config vps # landfall entry, Traefik settings, ssh login, keys, Host block
|
|
418
|
-
lf server list --all
|
|
418
|
+
lf server list --all --check # which servers landfall can log in to right now
|
|
419
419
|
lf server use vps
|
|
420
420
|
lf config --tunnel-only --keep 3 # defaults for every server; also lists where landfall puts things
|
|
421
421
|
lf server rm vps # forget locally
|
|
@@ -448,7 +448,11 @@ other and show up in `lf history`. The pages read the same data the `--json` com
|
|
|
448
448
|
| History | `lf history`, `lf undo` |
|
|
449
449
|
| Settings | `lf server config`, `server domain`, `traefik setup` (Settings…, Dashboard…), `traefik dashboard` |
|
|
450
450
|
|
|
451
|
-
Servers are on the left (★ marks the default).
|
|
451
|
+
Servers are on the left (★ marks the default). The dot next to each says whether landfall's key login works
|
|
452
|
+
(green), sshd refuses it (yellow) or ssh does not answer (red); hover for the reason. It checks on load, every
|
|
453
|
+
minute while the page is open, and on **Check** at the foot of the list (like `lf server list --check`).
|
|
454
|
+
Reachable servers come first; unreachable ones move to a closed **Unreachable** group. Git hosts from
|
|
455
|
+
`~/.ssh/config` are not listed. **Deploy folder…** browses local folders, or takes a dropped
|
|
452
456
|
folder or `.zip` (up to 512 MiB; archives with symlinks or hard links are refused). Destructive actions ask first.
|
|
453
457
|
|
|
454
458
|
- **Login:** through the printed `/login?t=…` link. The token is kept in `~/.config/landfall/ui-token`; delete
|
|
@@ -502,7 +506,7 @@ lf undo -s box -y # revert the last run
|
|
|
502
506
|
| `lf setup <name> --check` | Reports what is set up and what setup would change. Changes nothing. |
|
|
503
507
|
| `lf setup <name> --key-only` | Only installs landfall's ssh key. |
|
|
504
508
|
| `lf server add <name> [--host ip] [-u user] [-p port] [-i key] [--password-stdin] [--domain d] [--default]` | Registers a server without installing anything on it. Writes `Host <name>` to `~/.ssh/config`. |
|
|
505
|
-
| `lf server list [--all] [--json]` | Lists registered servers. `--all` adds every ssh alias. Alias: `servers`. |
|
|
509
|
+
| `lf server list [--all] [--check] [--json]` | Lists registered servers. `--all` adds every ssh alias except git hosts (github.com, `gitlab.*`, `User git` …). `--check` tries a key login to each: `ok`, `login` (sshd refuses the key) or `down`. Alias: `servers`. |
|
|
506
510
|
| `lf server info [name] [--json]` | Shows OS and release support, kernel, uptime, CPU, RAM, disk, addresses and containers. Alias: `info`. |
|
|
507
511
|
| `lf server config [name] [--json]` | Shows everything landfall and ssh use for a server. Does not connect. |
|
|
508
512
|
| `lf server domain [name] [domain...] [--add d] [--primary d] [--rm d] [--clear] [--tunnel-only] [--json]` | Manages main domains (the first is primary) and checks their DNS; `--tunnel-only` makes new sites deploy with no domain. |
|