{{define "setup-page"}}
Your code, connecting a Host, folders, the Host in charge and the owner name.
{{template "nav" "settings"}}A six-digit code from an authenticator app on your phone. Stopping an agent, marking one as yours, and answering what is asked of this machine take it. An AI agent can click a button on this page if it can drive your browser; it cannot read your phone.
{{if and .Enrol .Enrol.Machine}}Point your authenticator app at the square. It will appear as Privatae bastion.
Nothing is written to this machine until that code matches.
set up Your code is set up on this machine.
{{if .Limited}}To replace it, at a terminal: {{$.Admin "stepup-enroll --machine --rotate"}}
Set it up once, at a terminal, as the machine's administrator, so no program running as you
can set it up first: {{$.Admin "stepup-enroll --machine"}}
No Host is connected. That is fine: the bastion watches this machine on its own. To connect one, use a token from your Host below.
{{end}} {{if and .Hosts (not .Whole)}}Disconnecting a Host or releasing one from quarantine needs the machine's administrator; this bastion runs in your own account.
{{end}}The token comes from your host's “Set up a bastion”. It is used once.
{{if .Limited}}From your own account the console does not do this: it widens what reaches this machine and takes no code. The machine's administrator does it: {{$.Admin "ui"}}
Once a factor is enrolled, your host can only reach a folder or move files here after you approve the request on this machine. Your host never sees the code.
{{if and .Enrol (not .Enrol.Machine)}}Point your authenticator app at the square. It will appear as Privatae NAC, for {{.Enrol.Host}}.
Nothing is written to this machine until that code matches.
From your own account the console does not do this: it widens what reaches this machine and takes no code. The machine's administrator does it: {{$.Admin "ui"}}
No host here has its lanes open, and a second factor gates ops a pairing without lanes cannot run. Nothing is created for a pending host on this machine until the anchor host approves it.
{{end}}From your own account the console does not do this: it widens what reaches this machine and takes no code. The machine's administrator does it: {{$.Admin "ui"}}
Your files stay on this machine. Your host keeps only the index, and the draft does nothing until you approve it there.
{{else}}No host on this machine has its lanes open, so there is nothing to propose a folder to yet.
{{end}}The anchor host is the one that approves every other host paired here. It is a choice among the hosts this machine already serves.
{{if and .Hosts .Limited}}From your own account the console does not do this: it widens what reaches this machine and takes no code. The machine's administrator does it: {{$.Admin "ui"}}
Pair a host first — the anchor is one of them.
{{end}}A plain name, shown on this machine's card on every host it serves. It is optional and it grants nothing.
{{if and .Whole (not .OwnerCode)}}Set up your code above, then set the name here.
{{end}}
{{.Line}}
{{if .Resolved}}
{{.Resolved}}{{end}}
{{if .Note}}
{{.Note}}{{end}}
Enter this key by hand, then type a code from the app:
{{.Enrol.Key}}
It is a secret. It is on screen because you asked for it, and it is gone from this page as soon as you reload.
{{else}}That enrolment has expired — start it again.
{{end}} {{end}} {{define "anchor-cmd"}} {{with .Cmd}}{{.Command}}
{{.How}}
{{end}} {{if .Why}}{{.Why}}
{{end}}{{.Command}}
{{.How}}
{{end}} {{if .Why}}{{.Why}}
{{end}}