- Updated AGENTS.md to specify one key per purpose for SSH access, including naming conventions and configuration tips. - Revised README.md to streamline the roadmap and link to SSH and secrets documentation. - Created docs/ssh-and-secrets.md to outline the strategy for managing SSH keys and secrets in a public repo. - Refined TODO.md to reflect the new approach for secrets and server configuration tasks.
1.9 KiB
1.9 KiB
TODO
-
Secrets — Approach A (see docs/ssh-and-secrets.md): public repo only, one key per purpose (AGENTS.md), server keys via scp. Optional later: private repo + sops-nix.
- GitHub: Use
id_ed25519_github; in~/.ssh/config:Host github.comwithIdentityFile ~/.ssh/id_ed25519_githubandIdentitiesOnly yes. Removeid_rsa_githubfrom GitHub and locally once confirmed unused. - nixos-server: Switch to key auth if still on password: on server
mkdir -p ~/.ssh; chmod 700 ~/.ssh; from Macscp ~/.ssh/id_ed25519_github.pub danny@SERVER:/tmp/; on servercat /tmp/id_ed25519_github.pub >> ~/.ssh/authorized_keys; chmod 600 ~/.ssh/authorized_keys. Optional: createid_ed25519_serversand use only for servers (add Host in config). - Forgejo: When needed: create
id_ed25519_forgejo, add to forge, add Host in~/.ssh/config.
- GitHub: Use
-
Server
- Only I use the machine. Access: SSH keys only (no password auth).
- Continue configuring (add services in
hosts/nixos-server.nixas needed). - SSH: key-only auth; disable password auth. Optionally restrict SSH to LAN.
- Passwordless sudo for wheel.
-
Rename nixos-server to
- Shortlist hostnames; then do flake + hostname + docs in one pass.
- Monte Cristo–themed candidates (two-word, non-human):
- Ships / sea: sunken-ship, phantom-ship, rusty-anchor, salty-wind, stormy-wave, calm-harbor, distant-shore, foreign-port, wooden-hull, anchor-chain
- Prison / stone: prison-rock, cold-stone, iron-chain, damp-cell, guard-tower, midnight-bell, stony-corridor, broken-chain
- Secrets / treasure: buried-treasure, secret-cave, forgotten-tunnel, hidden-key, rusty-sword, faded-parchment, ancient-map, broken-seal, buried-chest
- Atmosphere: strange-companion, masked-ball, poison-vial
-
Give wifi access instead of ethernet.
-
Host telegram bot once again (for what purpose?)