Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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/quickstart.md +5

@@ -73,6 +73,11 @@ are:
73 73 Both listeners use loopback, so other machines cannot connect to this local
74 74 instance.
75 75
76 Port 2222 is deliberate here. A deployed instance can put the system sshd in front
77 so no clone URL carries a port ([Put sshd in front of
78 Vole](deploy/index.md#put-sshd-in-front-of-vole)), but that is a change to the
79 host's sshd, and a development instance should not need one.
80
76 81 ## 5. Clone and push
77 82
78 83 From a workspace in the second terminal: