Skip to content

Commit 3f96e92

Browse files
andyclaude
andcommitted
GETTING_STARTED: the machine list copy needs a login (#192)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PFPK14wBcLD1s4dYUowpP4
1 parent abc4f59 commit 3f96e92

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

‎GETTING_STARTED.md‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -517,11 +517,14 @@ server through ssh tunnels. On each client machine, as root:
517517
sudo ecce-remote-setup <server-host>
518518
```
519519

520-
`ecce-remote-setup` writes only the data server's address (and, with
521-
`--tls`, its certificate); it no longer copies the server's machine list onto
522-
the client (#192). The server publishes it, behind the data-server login, in
523-
`Ecce/system/siteconfig` with an `INDEX` of sha256 sums; `sudo ecce -admin` on
524-
the server publishes after a save. `ecce-remote-setup --refresh` does nothing now.
520+
`ecce-remote-setup` also copies the server's registered site machine list
521+
onto the client, so students don't register machines by hand. The published
522+
files need a login of the server (any account): give one with
523+
`--login NAME` (the password is asked for, or taken from
524+
`ECCE_SETUP_PASSWORD`). Run `sudo ecce-remote-setup --refresh --login NAME`
525+
after the admin changes the list (`sudo ecce -admin` on the server publishes
526+
it, #188, #192). Without a login the address is written and the list is not
527+
copied. This copy stays until clients fetch the files themselves (#192).
525528
The client finds the broker on the same host, port 8088 (set `ECCE_BROKER_PORT`
526529
in the client's environment if the server uses another).
527530

@@ -601,7 +604,7 @@ echo "$d" > /opt/ecce/siteconfig/PublishDir # as an administrator
601604
Every directory above `$d` must be searchable (`x`) by the administrators,
602605
e.g. `chmod 711 ~ecce` if the home directory is private.
603606

604-
Clients no longer need a refresh step (#192).
607+
On the administrator's own client, and on every other, `sudo ecce-remote-setup --refresh --login NAME` fetches the new list.
605608

606609
Users then run `ecce -remote`. A client quitting never stops the server's
607610
services, and neither does the server account's own plain quit; its

0 commit comments

Comments
 (0)