zerohead
Get started

Using zerohead

Remote access

zerohead Connect reaches your computer through an encrypted relay, and is built but not hosted anywhere yet.

The source is not public yet. It will be published under MIT. The pages under Contributing describe working on it once it is.

zerohead Connect is how you reach your computer from a phone or another network. It has three parts: a hosted service for accounts and a relay, a client inside your zerohead server, and a hosted build of the web app.

Connect is built and tested on one machine. Nothing is deployed, so there is no address to sign in at. It has not run on a real phone, and its encryption has not had a security review by a person. Do not rely on it yet.

How it works

  • Your computer keeps one outbound connection to the relay. You open no port.
  • Traffic between your browser and your computer is encrypted end to end. The relay carries ciphertext and cannot read it.
  • Your computer decides who gets in. A device needs a short-lived pass from the service, and your computer checks it itself.
  • Until you link it, your server makes no connection to a Connect service.

Connect is not offered as a hosted service yet, so there is no address to link to. Running your own copy of the service is for people working on zerohead: see Contributing.

There is no default service address. Give the one of the service you use:

zerohead connect --url https://connect.example

The address must be https, or http for a loopback address.

  1. The command prints a link and a code.
  2. Open the link, sign in to your account, and enter the code. Approve it only if you started this sign-in yourself.
  3. The command registers the computer and writes a private link file in your data folder.

A running zerohead serve connects within a second. Run zerohead connect --relink --url <address> to link again. On Windows, the command warns when the data folder is outside your profile folder, because the link file holds a key.

The service's free plan allows one computer and one other device.

Use it from a phone

Open the service's address in the phone's browser, sign in, register the browser as a device, and choose your computer. The app is the same one your computer serves. If it cannot connect, it shows a screen that says why, for example that the computer is offline.

Manage devices

Open More, then Settings, and find Remote access. It shows the account, the service, the relay state and each device that connected. Refuse turns a device away on your computer, whatever the service says. Allow lets it in again.

From the command line:

zerohead connect status
zerohead connect refuse <id>
zerohead connect allow <id>
zerohead disconnect

disconnect unlinks the computer and removes the link file, whether or not the service answers. The server stops the connection when it sees the file go.

zeroheadHomeMIT license