Skip to content

HTTPS and sharing

Every VM is served at https://<vm>.turm.dev. The edge terminates TLS with an automatic certificate and forwards the request to port 80 in the VM.

Terminal window
# in the VM
python3 -m http.server 80

Then open https://demo.turm.dev.

Terminal window
ssh turm.dev share port demo 3000

A new VM’s URL is private: only you can open it, after signing in. Open it up in any of these ways:

Terminal window
ssh turm.dev share set-public demo # anyone
ssh turm.dev share add demo friend@example.com # one person, by email
ssh turm.dev share add-link demo # anyone with the link

Undo them with share set-private, share remove <vm> <email> and share remove-link <vm> <token>. share show <vm> lists the current access.

share add <vm> <email> --root also lets that person SSH into the VM.

To serve the VM on your own domain, see Custom domains.