25*/
26import { spawn } from 'node:child_process';
27import { createReadStream, existsSync, mkdirSync, readFileSync, writeFileSync, rmSync, mkdtempSync, renameSync, openSync, readSync, writeSync, closeSync } from 'node:fs';
28import { promises as dns } from 'node:dns';
29import { connect } from 'node:net';
⋯
106
107/* The three keys of this machine, made here if missing; private halves never leave it. */
108export async function ensureKeys(sys, P = PATHS) {
⋯
135sys.print('SETUP KEY: for `clavarium online --relay`. Put it once on the relay, in');
136sys.print('~/.ssh/authorized_keys of an account that has sudo. It is taken out at the end.');
137sys.print(` ${keys.setup}`);
⋯
184const at = [...sshOptions(f.setup, f.knownHosts, conf.PORT), `${conf