share — HTTPS
access to a VM
ssh |
chroot.dev share show
name |
ssh |
chroot.dev share port name
[port] |
ssh |
chroot.dev share add |
rm name user |
ssh |
chroot.dev share set-public
name [port] |
ssh |
chroot.dev share set-private
name |
share controls who reaches
https://name.chroot.run and
the VM's custom domains (domain(1)),
and which port on the VM answers. It covers only that path: the VM's public
IPv6 address is open to the internet on every port, whatever is set here;
filter it with pf.conf(5) in the
VM.
show
name
- Port, access and users.
port
name [port]
- Port on the VM behind the proxy. The default is 80; without
port, show it.
add
name user
- Let another user in.
rm
name user
- Take the access back.
set-public
name [port]
- Anyone gets in, without login, and the URL is shown. With
port, the port behind the proxy changes too, in the
same command.
set-private
name
- Only you and the users added. This is the default.