How do I connect a server?

In Servers, select Connect a server, enter a name, the server's IP address or host name and where it's hosted. Then run the one command the page shows on the server over SSH, and select Connect.

Connecting a server lets Rarity install and look after agents on it. You do it once for each server, and it works with any server you rent or own that runs Ubuntu or Debian.

Connect it

  1. Sign in and open Servers in your dashboard.
  2. Select Connect a server.
  3. Enter a Name that helps you tell it apart, such as home-lab.
  4. Enter its IP address or host name, such as 203.0.113.10. Your host shows it in the server's details.
  5. Choose Where it's hosted, such as Hetzner, DigitalOcean or My own hardware.
  6. Sign in to the server over SSH, copy the command the page shows and run it once. It starts with curl -fsSL https://rarity.cc/connect.sh.
  7. Select Connect.

The server shows Online in Servers once Rarity can reach it, with its CPU, memory and storage. You can then deploy an agent on it.

You can also connect a server in the first step of Deploy an agent, by choosing Connect a new server.

If your plan is full

Each plan includes a set count of servers, and Free includes none. When they're all in use, Connect a server shows what one more costs, with a button that takes you to Subscription > Add-ons to add room for another, or you can move to a bigger plan.

If it doesn't come online

If the server doesn't show Online, check that the command finished without an error, and that the address you entered is the server's public address.