Connectivity
Zekoder connects to the daemon on your computer or server. Desktop and the CLI can tunnel through SSH. Phones connect through the relay or directly over Tailscale. To pair a phone, see Connect a host; for the trust model behind each option, see Security.
SSH
SSH transport connects to an existing daemon through your local OpenSSH client. It does not install, start, or configure anything on the remote host.
Before connecting, start the daemon on the remote host and confirm ssh user@host works with a key or SSH agent. Zekoder uses non-interactive SSH and follows your OpenSSH config.
zekoder --host ssh://user@host ls -a
zekoder --host ssh://user@host:2222 ls -a # 2222 is the SSH port
zekoder --host 'ssh://user@host?daemonPort=7777' ls -a # daemon port on the remote
The daemon is expected at 127.0.0.1:6777 on the remote host. Put --host before the command: zekoder daemon status reads the local home, zekoder --host ssh://user@host daemon status reads the remote.
In Desktop, open Settings → Add host → Remote SSH and enter the same ssh:// destination. If the remote daemon has a password, enter it in Daemon password. SSH login stays key-based; Zekoder never prompts for an SSH password.
Relay
The relay needs no Tailscale, port forwarding, or network configuration, and traffic is end-to-end encrypted. It is on by default. A home that had it off is turned on once when the daemon starts, and the app shows a notice with Keep on and Turn off. Turn it off again from the notice or with the command below, and it stays off.
- Desktop: Settings → your host → Pair a device, then scan the QR code or copy the pairing link. If the relay is off, select Enable relay first.
- CLI: run
zekoder daemon pair, then scan the QR code or paste the link in the phone app. If the relay is off, confirm the prompt. - Phone or browser: open app.zekoder.com; see Phone and web.
To turn it off, run zekoder daemon config set daemon.relay.enabled false.
Tailscale
Install Tailscale on the daemon machine and your phone, signed in to the same tailnet.
- On the daemon machine, run
tailscale ip -4and copy the address, for example100.101.102.103. - Set
daemon.listento that address in the daemon'sconfig.json(in~/.zekoderby default), keeping your other settings:{ "version": 1, "daemon": { "listen": "100.101.102.103:6777" } } - Restart the daemon with
zekoder daemon restart, or Settings → your host → Overview → Restart daemon if Desktop manages it. - On the phone, connect Tailscale, then Settings → Add host → Direct connection. Enter the Tailscale IP as Host and
6777as Port. Leave Use SSL off and select Connect.
If the host was already paired through the relay, the direct connection is added to the same host. Set a password before binding to a network address; see Security.
Troubleshooting
- SSH authentication failed: run
ssh user@hostin a terminal and fix the key, agent, host key, or~/.ssh/configentry there. - SSH connects but Zekoder is refused: run
zekoder daemon statuson the remote host. SSH transport does not start the daemon. - "Password required" over SSH: remove the SSH connection and add it again with the daemon password.
- Connection timed out: check that Tailscale is connected on both devices and that you used the daemon machine's Tailscale IP.
- Connection refused: run
zekoder daemon statusand confirm the daemon listens on the configured IP and port. - Config change has no effect: run
zekoder reload.daemon.listenis a startup setting, so restart when the command says so.