If a Switch server is already running and you have its address, you don’t need a host for the server. Connect to it from Add a server instead. You might still want a host for your agents.
Before you begin
You’ll need:- A machine that stays up: a VM or container on your laptop is a valid SSH target, but it goes down whenever your laptop does. That’s fine if you’re the only one who relies on the agent, and a blocker when a teammate in another time zone needs it while you’re asleep.
- SSH access that already works: get SSH to the host working in a terminal first. Switch Console offers the
Hostaliases in your~/.ssh/configand uses your SSH agent, with no credentials of its own. - An SSH user that can install software: Switch Console runs every install as that user and never escalates to root on its own, so a directory the user can’t write to stops the install. When that happens, Switch Console says so and changes nothing on the host. Install that piece by hand, then re-check.
- Docker on the machine, if a Switch server will run there.
- Operating system: Linux (Ubuntu 22.04 or 24.04) or macOS. Not Windows: there’s no install path.
- Architecture: x86_64 or arm64.
- Size: 2 vCPU, 4 GB RAM, 20 GB disk. Switch sets no minimum; this is a comfortable starting point.
- Access: SSH with your public key, plus
sudo, or Homebrew on macOS. - Network: outbound internet access, because onboarding downloads Node.js and system packages, and running a server there pulls container images. A host that runs an agent also has to reach your Switch server.
Where to get one
If your organization already runs cloud infrastructure, hand the list above to whoever provisions machines and ask for a small Linux VM. To self-serve, look for a service that offers a Linux machine you can reach over SSH. Providers call it a virtual private server, VPS, cloud instance, compute instance, or virtual machine. For this purpose, they’re the same product. Confirm these about a plan:- You get a shell on a machine you control. Platforms that deploy an app for you, such as serverless, container hosting, and managed app platforms, don’t give you one, and they won’t meet your Switch requirements. If a product talks about deploying your app rather than a server you log into, it’s the wrong kind.
- You choose the operating system image, and Ubuntu 22.04 or 24.04 is among the choices.
- You add your own SSH key, and the account it gives you includes
sudo. - You can run Docker on it, if your Switch server is going to live there. A full virtual machine can; some container-based products can’t.
Onboard a host
1
Open the remote hosts settings
At the bottom of the Switch Console sidebar, select Settings, then Remote hosts.
2
Identify the host by its SSH alias
Select Add host, then fill in SSH host and Display name. SSH host is a
Host alias from your ~/.ssh/config. Switch Console offers the aliases it finds, and accepts one you type that isn’t there. Display name is what you’ll recognize the machine by in Switch Console.Prefer an alias you already have, so the connection uses the user, key, and port your SSH setup resolves.3
Install what the host is missing
Switch Console checks the host and reports what it finds in two groups. Prerequisites covers Git and Node.js, and Switch Console installs either one the host doesn’t have. Agent types has a row for each agent provider.Every row shows what was found (a version and Installed, or Not installed) and offers only the controls its state calls for:
- Install when something is missing
- Update when a newer version is known
- A re-check that probes that row alone
4
Confirm the host is ready
The host is usable once its status reads Ready. That status counts the prerequisites, so a host reads Ready with no agent provider on it yet. That’s what you want if you’re only going to run a server there.The host now appears wherever Switch offers you a machine to run something on.
Run a server on the host
An onboarded host can run the same Switch server the local option gives you, on a machine that isn’t the one in front of you. What changes for you:- It stays up when your own machine doesn’t. The server runs on the host, so its rooms stay live while your laptop is asleep, closed, or restarting.
- You still reach it from Switch Console, which connects to it through the host you onboarded. It isn’t an address you hand out. A server other people connect to for themselves is a different setup. If your team already runs one, connect to that instead.
- Rooms and agents work as they do on a local server. They don’t carry over from a server you already run, because each agent is registered against one server.

