Install on a remote machine
Zekoder Desktop can install the daemon on a Linux machine for you over SSH, then connect to it. This page also covers installing by hand and what the installer changes on the machine.
Requirements
- Linux on x64 or arm64, with glibc 2.35 or newer. That is Ubuntu 22.04 or Debian 12 and newer. Alpine and other musl systems are not supported.
- OpenSSL 3, plus
curlorwget,tarandsha256sum. - An account on the machine that you can reach with
sshusing a key or your SSH agent. Password prompts are not supported. - A systemd user session, ideally with linger enabled. Without it the daemon runs but does not survive a reboot.
- Install and sign in to the coding agents you want to use on that machine.
Add a host over SSH from Zekoder Desktop
This is available in the desktop app only.
- Open Settings and select Add host.
- Choose Install on a remote machine.
- Enter your SSH command, for example
ssh user@host -p 22. Only the destination,-p,-land-iare accepted. - Select Install and wait for the steps to finish: Connect over SSH, Check the machine, Install Zekoder and Pair this app.
- Confirm the host when asked. It then appears under Settings > Host.
A step that fails shows its message and a short code. Fix the cause and select Retry: the installer is safe to run again.
First connection to a new machine
Zekoder runs ssh without prompts, so it cannot ask you to trust a new host key. If the step fails with Unknown host key, connect once from a terminal, accept the key, then retry:
ssh user@host
What gets installed and where
Everything is installed for your user, with no sudo:
~/.local/share/zekoder-daemon: the daemon and the versions kept for rollback.~/.zekoder: the daemon's data and configuration.- Three systemd user units in
~/.config/systemd/user: the daemon and its update service and timer. - The daemon listens on
127.0.0.1:6777, on that machine only.
Pairing
The installer enables the encrypted relay and shows a pairing link to the app. Traffic between the app and the machine is end-to-end encrypted, and the relay only carries it. To pair another device later, see Connect a host.
Automatic updates
The machine updates the daemon on its own. See Update a remote host to update it right away or fix a stuck update.
Moving from Paseo
If the machine already runs the stock Paseo daemon, Install notices it and asks how to proceed. Choose Migrate from Paseo (recommended) to move your setup onto Zekoder, or Install beside to keep both. The same choice is available when you run Install again on a machine where Zekoder is already installed.
What moves. Your provider and agent settings, plugins and plugin settings, projects, workspaces and schedules are copied into ~/.zekoder. Agent history is copied as closed agents, so you can resume them. Worktrees stay under ~/.paseo/worktrees. The Paseo daemon's identity, push tokens and process state are not copied.
What stays. ~/.paseo is only read, never changed, so you can go back. If you migrate again later, anything Zekoder already has wins over the Paseo copy, and only missing entries are added.
If an agent is running. Zekoder never stops a Paseo daemon with active agents. The install still finishes and the summary says how many are active. Imported schedules stay paused and agent history stays behind until you stop the old daemon. Select Stop old daemon once the agents finish. If it fails because one is still running, wait and select it again. If you close the app first, running Install on that machine again goes straight to Stop old daemon.
After the move.
- Pair your phone and other devices with the new host again. It has a new identity, so existing pairings do not carry over.
- When the old daemon is stopped, Zekoder offers to remove the old host entry from Settings > Host.
- Global OpenCode sessions resume only if their data was copied. Otherwise they show their history and start a new session.
- Zekoder does not uninstall Paseo. The summary prints the command to remove the old
@getpaseo/cliglobal; run it on the machine when you no longer need it. - Open Zekoder in the sidebar, then Version, to check that your skills and agents are installed for the user.
Install beside. Both daemons then run on the machine and do not share state. Run Install on a remote machine again for the host whenever you want to migrate.
Manual install
Use this when you cannot use the desktop app. On the machine, as the user that will own the daemon:
curl -fsSL https://storage.googleapis.com/zekoder-releases/daemon/install.sh | sh -s -- --channel stable
This address is available after the first stable daemon release. --channel sets the host's release channel on the first install only. A later run with another channel keeps the stored one and prints a warning; change it in Settings. Then print a pairing link:
~/.local/share/zekoder-daemon/current/bin/zekoder daemon pair --relay
Choose Paste pairing link in Add host and paste it.
Troubleshooting
Unsupported machine. The machine is not Linux x64 or arm64, or its glibc is older than 2.35. The message names the version found. Use Ubuntu 22.04, Debian 12 or newer.
The daemon stops when you log out. The installer could not enable linger. Ask an administrator to run this once:
loginctl enable-linger <your user>
Unknown host key. Connect once with ssh in a terminal, as described above.
The daemon does not start. Check the service on the machine:
systemctl --user status zekoder-daemon