Files
archipelago/connectors/host/target

Host connector: what a target host needs

  • An unprivileged account (archie) whose authorized_keys holds the public half of the machine credential the connector is accepted with.
  • df, du, find, sort and head (GNU coreutils and findutils).
  • For lookups to see files the account can't read, run install.sh as root. It installs two helpers under /usr/local/libexec/archie and a sudo rule allowing exactly those, and then set "helpers": true on the host in the connector's hosts setting. The helpers only read, check every argument, and run fixed commands: sudo can't safely allow du or find themselves, since find can delete and execute.
  • The host's public key, as ssh-keyscan prints it, in the hosts setting.