Add dedicated Hermes fleet SSH access to the improvement branch #324

Open
opened 2026-10-13 09:57:54 +01:00 by nimmo · 0 comments
Owner

User requested fleet SSH in the same Hermes improvement branch. Infrastructure implementation is d4c3a90 plus ownership split fca8907 on fix/hermes-browser. Hermes profile configuration aad7557 is now published directly to nimmo/hermes main. The previous unpublished SSH commits were folded together to exclude one-use code from the proposed history. Branch fix/hermes-browser is published in MR #325: #325. MR #325 is merged to main as 07c7c058aa after the replacement review reported Ready to merge. Combined current-main flake check and the actual Hermes package build pass.

Approved scope:

  • Dedicated ed25519 identity, separate from Git deploy credentials.
  • Primary nimmo account on configured NixOS hosts and supported existing Linux accounts; root on Pangolin, totalgeek.co.uk and nimmog.uk.
  • de.nimmog.uk/nimmog-de uses nimmo over Nebula. User confirms all its services run in Docker; Docker logs are sufficient and journal-group provisioning is not needed.
  • Preserve mass-storage's DSM authentication setup; exclude it from automatic key rollout. Desktop is Windows without SSH and is excluded.

Implementation:

  • Shared NixOS public-key authorization; Vega-only SOPS private key with hermes ownership and mode 0400; temporary plaintext removed.
  • nixos-config owns operator-trusted ed25519 host pins, service-owned SSH configuration/default identity, disabled forwarding and separate Git identity. Its generated config includes the mutable Hermes profile ssh/config after scalar safety settings and before the fallback user; IdentityFile entries remain additive.
  • nimmo/hermes owns ssh/config destination routes/accounts, ssh/README.md operational guidance and reusable destination checks. Profile changes do not require a NixOS rebuild after infrastructure activation.
  • Persistent SSH policy/account/Git-identity checks. Non-NixOS enrollment uses standard ssh-copy-id; no bespoke one-shot installer or single-use migration code is retained. Guide: docs/hermes-fleet-ssh.md.

Confirmed rollout:

  • Nova, media1 and nimmog-de: dedicated key installed, authenticated new-key mesh logins and Docker inspection passed, no-op repeats confirmed. German VPS temporary home read/write and Docker log read passed. Nova system-journal read passed.
  • All three approved VPS root accounts: ssh-copy-id succeeded using existing Electra operator access. Checked no-op follow-ups and exactly one matching key entry on each.
  • Pangolin is the intended pangolin-vps mesh lighthouse, as the user's earlier fleet note already stated. Corrected the prior mismatched-address inference; use pangolin-vps.mesh and its trusted host alias. Beszel's historical configured public address is not evidence of a separate host.
  • nimmog.uk VPS: root@217.160.146.164 authenticated from Electra with HostKeyAlias=nimmog.uk, matching its existing trusted hostname key. Vega's operator key was rejected; Electra's key supplied the working bootstrap path.
  • Operator logins verified all four NixOS mesh routes. Vega's user-run just test successfully activated reviewed revision 6c73318: gateway is active/running, generated SSH config is installed and the fleet secret is hermes:hermes mode 0400. The user now confirms all four registered NixOS hosts deployed merged commit 07c7c05. Direct checks confirmed the revision on Vega, Lyra and Electra, and persistent active/system-profile agreement on Vega and Lyra. Lena could not be independently reached during this check. The user now confirms fleet SSH succeeds from Hermes's own terminal; normal-account SSH acceptance is complete.

Validation: nix flake check passes in both repositories after the ownership split; infrastructure inclusion/precedence and Git-identity checks pass, as do Hermes destination checks. The actual profile plus generated infrastructure configuration was checked together for Pangolin root, German VPS nimmo and fleet identity/safety defaults. Existing upstream stdenv deprecation warnings reviewed. Private/public match and exact SOPS recipient scope verified without logging private material.

Remaining:

  • Publish Hermes profile aad7557 directly to main and open infrastructure MR #325 under milestone 37, referencing #321/#322/#324 without premature closing keywords.
  • Complete review, passing CI validation, current-main integration checks, package build and Vega canary; merge MR #325 under explicit user authorization.
  • Gather persistent deployment and no-op evidence before closing this issue.
  • Deploy the merged commit across the registered NixOS fleet (user confirmation; live checks on Vega/Lyra/Electra).
  • Validate fleet SSH from Hermes's own terminal (user confirmation).
  • Record a no-op deployment follow-up. A dry-activation follow-up selected Vega's already-active system path but its non-mutating activation phase required interactive authentication; this is not recorded as a completed no-op activation.
  • If host system-service logs are needed on media1, an administrator can grant journal membership and verify a fresh session. No such change is required on nimmog-de.

Keep this issue open until normal Hermes acceptance and required deployment evidence are complete.

User requested fleet SSH in the same Hermes improvement branch. Infrastructure implementation is d4c3a90 plus ownership split fca8907 on fix/hermes-browser. Hermes profile configuration aad7557 is now published directly to nimmo/hermes main. The previous unpublished SSH commits were folded together to exclude one-use code from the proposed history. Branch fix/hermes-browser is published in MR #325: https://git.nimmog.uk/nimmo/nixos-config/pulls/325. MR #325 is merged to main as 07c7c058aad80e0122473775a2a3969acc4e9c9e after the replacement review reported Ready to merge. Combined current-main flake check and the actual Hermes package build pass. Approved scope: - Dedicated ed25519 identity, separate from Git deploy credentials. - Primary nimmo account on configured NixOS hosts and supported existing Linux accounts; root on Pangolin, totalgeek.co.uk and nimmog.uk. - de.nimmog.uk/nimmog-de uses nimmo over Nebula. User confirms all its services run in Docker; Docker logs are sufficient and journal-group provisioning is not needed. - Preserve mass-storage's DSM authentication setup; exclude it from automatic key rollout. Desktop is Windows without SSH and is excluded. Implementation: - Shared NixOS public-key authorization; Vega-only SOPS private key with hermes ownership and mode 0400; temporary plaintext removed. - nixos-config owns operator-trusted ed25519 host pins, service-owned SSH configuration/default identity, disabled forwarding and separate Git identity. Its generated config includes the mutable Hermes profile ssh/config after scalar safety settings and before the fallback user; IdentityFile entries remain additive. - nimmo/hermes owns ssh/config destination routes/accounts, ssh/README.md operational guidance and reusable destination checks. Profile changes do not require a NixOS rebuild after infrastructure activation. - Persistent SSH policy/account/Git-identity checks. Non-NixOS enrollment uses standard ssh-copy-id; no bespoke one-shot installer or single-use migration code is retained. Guide: docs/hermes-fleet-ssh.md. Confirmed rollout: - Nova, media1 and nimmog-de: dedicated key installed, authenticated new-key mesh logins and Docker inspection passed, no-op repeats confirmed. German VPS temporary home read/write and Docker log read passed. Nova system-journal read passed. - All three approved VPS root accounts: ssh-copy-id succeeded using existing Electra operator access. Checked no-op follow-ups and exactly one matching key entry on each. - Pangolin is the intended pangolin-vps mesh lighthouse, as the user's earlier fleet note already stated. Corrected the prior mismatched-address inference; use pangolin-vps.mesh and its trusted host alias. Beszel's historical configured public address is not evidence of a separate host. - nimmog.uk VPS: root@217.160.146.164 authenticated from Electra with HostKeyAlias=nimmog.uk, matching its existing trusted hostname key. Vega's operator key was rejected; Electra's key supplied the working bootstrap path. - Operator logins verified all four NixOS mesh routes. Vega's user-run just test successfully activated reviewed revision 6c73318: gateway is active/running, generated SSH config is installed and the fleet secret is hermes:hermes mode 0400. The user now confirms all four registered NixOS hosts deployed merged commit 07c7c05. Direct checks confirmed the revision on Vega, Lyra and Electra, and persistent active/system-profile agreement on Vega and Lyra. Lena could not be independently reached during this check. The user now confirms fleet SSH succeeds from Hermes's own terminal; normal-account SSH acceptance is complete. Validation: nix flake check passes in both repositories after the ownership split; infrastructure inclusion/precedence and Git-identity checks pass, as do Hermes destination checks. The actual profile plus generated infrastructure configuration was checked together for Pangolin root, German VPS nimmo and fleet identity/safety defaults. Existing upstream stdenv deprecation warnings reviewed. Private/public match and exact SOPS recipient scope verified without logging private material. Remaining: - [x] Publish Hermes profile aad7557 directly to main and open infrastructure MR #325 under milestone 37, referencing #321/#322/#324 without premature closing keywords. - [x] Complete review, passing CI validation, current-main integration checks, package build and Vega canary; merge MR #325 under explicit user authorization. - [ ] Gather persistent deployment and no-op evidence before closing this issue. - [x] Deploy the merged commit across the registered NixOS fleet (user confirmation; live checks on Vega/Lyra/Electra). - [x] Validate fleet SSH from Hermes's own terminal (user confirmation). - [ ] Record a no-op deployment follow-up. A dry-activation follow-up selected Vega's already-active system path but its non-mutating activation phase required interactive authentication; this is not recorded as a completed no-op activation. - [ ] If host system-service logs are needed on media1, an administrator can grant journal membership and verify a fresh session. No such change is required on nimmog-de. Keep this issue open until normal Hermes acceptance and required deployment evidence are complete.
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#324
No description provided.