feat: add reverse ssh sandbox targets

A sandbox behind NAT could not reach the room. A reverse target dials a tunnel-only sshd on the server, forwards localhost:22 to a loopback port, and the worker connects there.

The server assigns the port and writes one authorized_keys line per tunnel target. The key carries permitlisten for that port; the sshd allows remote forwarding only, with no shell or local forwarding. The tunnel private key is shown once and never stored; rotating it rewrites the file. The target list and setup dialog carry the command, and the docs include the sshd config and sidecar requirements.
This commit is contained in:
vhaudiquet committed 2026-11-29 19:25:14 +01:00
1 parent fc684115b5
commit d85f68a176
20 files changed
+893 -38

No files matched your search

+14
View File
@@ -2141,6 +2141,20 @@ body.files-resizing-y * {
color: var(--muted);
}
.command-block {
margin: 0;
padding: var(--sp-3);
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-control);
color: var(--text);
font-family: var(--font-mono);
font-size: var(--fs-small);
line-height: var(--lh-body);
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;