fix: ai-worker SSH key not decryptable from Hermes container #32
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The ai-worker SSH private key at
secrets/ai_ssh_key.ageis encrypted with age using SSH public keys that are not accessible from within the Hermes container. When trying to SSH to the host (lazyworkhorse) as ai-user to run security audits and ollama benchmarks, the key cannot be decrypted because:id_hermes_gitea)ssh-ed25519 GhMD8A...andssh-ed25519 eB5ENw...which don't match the available private keysRelated
/home/ai-worker/.ssh/ai_ssh_keyon the host (deployed via agenix) but the private key to connect *to* the host is not accessible from the containerProposed Solutions
id_hermes_gitea.pub) toauthorizedKeysinsecrets.nixso the age file can be decryptedHermes referenced this issue2026-05-03 09:52:23 +00:00