vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Document the front door and the way back
bca53bdad334204063f07158d6885e22c5eb69ff · Keenan Nemetz · 16d ago · parent 09610c0f
Document the front door and the way back The feature works and the package ships it, and nothing tells anyone. This is the deploy page's half: what the front door is, the four steps that turn it on, how to move an existing instance onto it, and how to move back. The cloud-init templates needed a fix before they could be documented. SSH_PORT alone only changed the port in the rendered configuration, so SSH_PORT=22 produced a machine whose Vole tried to bind 22 itself and lost to sshd on first boot. The render now derives the mode as well: ssh_listen = "socket", sshd's public host key, and a guarded block in the first-boot script that appends the Include, runs sshd -t and reloads. It checks for the drop-in before writing anything, so a package without it leaves the machine alone with the reason in the log. The rest is prose that had to become true: the port table, the troubleshooting rows, the clone-URL examples, the runner's remote and ssh-keyscan in both shapes, the backup gaining /etc/ssh/ssh_host_ed25519_key, the quickstart saying why a development instance stays on 2222, and the architecture page naming one SSH endpoint per instance as a choice. check-deploy renders both flavours and fails if the front-door one still names 2222, keeps Vole's own listener, or omits any of the three settings that make the mode work. The design document itself is not here: #268 has not landed, so there is no docs/design/sshd-front-door.md on main to mark accepted, and a link to it would be a dead relative link that check-links rejects.
docs/packaging.md +5
| @@ -84,6 +84,11 @@ Follow [Back up an instance](operations.md#back-up-an-instance), including | |||
| 84 | 84 | ||
| 85 | 85 | Install with `dpkg -i`, `apt install ./<package>`, or `dnf install ./<package>`. | |
| 86 | 86 | ||
| 87 | Upgrading also creates the `git` account and `/run/vole` the first time this | ||
| 88 | version is installed, whether or not you intend to use the front door. An existing | ||
| 89 | `git` account is left alone; the install says so, and `ssh_user` is how you point | ||
| 90 | Vole at an account of your own. | ||
| 91 | |||
| 87 | 92 | ### 3. Rename a pre-channel account database | |
| 88 | 93 | ||
| 89 | 94 | If `data/` still holds `users.db`, this version reads `instance.db` and will | |