Skip to content

History / SSH persistence guide

Revisions

  • Fix SSH persistence guide: correct systemd path, document overlay wipe list The previous overlay-based procedure never actually worked: 1. The systemd enablement symlink was placed at .../etc/overlay/lib/systemd/system/multi-user.target.wants/, which merges to /etc/lib/systemd/system/... - not a path systemd ever scans. It must be at .../etc/overlay/systemd/system/... to merge to /etc/systemd/system/..., the standard override location. 2. /etc/az01/overlayfs.conf actively deletes /data/system/etc/overlay/ssh (recursively) and the passwd/shadow/group/gshadow files on every boot, before the overlay is even mounted - confirmed identical on both 5.0.0 and 5.0.3. Anything placed under the 'ssh' overlay subdirectory or those four files never survives a reboot. Rewrote the procedure to enable sshd.service at the correct path and to store the authorized_keys file under the /var overlay instead, referenced via SSHD_OPTS in /etc/default/ssh (neither of which are on the wipe list). Root pubkey login is already permitted by the stock sshd_config.d/10-az0x.conf, so no sshd_config override is needed at all.

    @icedream icedream committed Jul 12, 2026
  • Fix mermaid syntax: remove slashes from node IDs and subgraph IDs

    @icedream icedream committed Jul 11, 2026
  • Add mermaid diagrams to firmware and SSH persistence guides

    @icedream icedream committed Jul 11, 2026
  • Add SSH persistence guide for firmware upgrades

    @icedream icedream committed Jul 11, 2026