# X-Hub Remote Support: Let XProxy Support Connect

> For AI tools: this is the Markdown copy of https://xproxy.io/document/xproxy-hub-remote-support. Every XProxy guide has one at its URL + `.md`; the index of all guides is https://xproxy.io/llms.txt.

Start remote support on one or many servers from X-Hub, copy the PINs for XProxy support, see what support can do, and stop it when you are done.

Remote Support lets XProxy support connect to one of your servers, or to the machine that runs your X-Hub, when you ask for help. You start it on one page, for many servers at once, and send the PINs to support.

**You need:** an **owner** login on a [running X-Hub](https://xproxy.io/document/xproxy-hub-setup) and at least one [connected server](https://xproxy.io/document/xproxy-hub-connect-boxes) that is online. This is the X-Hub way of the **Remote support** switch in the server panel; how support works on the server is in [Remote support](https://xproxy.io/document/remote-support).

## How do I start remote support?

**Step 1: Open Remote Support**

Sign in as an **owner**. In the left menu, under **Admin**, click **Remote Support**. Operators and viewers do not see this page.

The page lists **This hub** and every server that is paired with your X-Hub. A server that is offline cannot be ticked.

> You can also open it from one server: on the server page, click **Remote support** in the top row.

**Step 2: Tick the servers and press Start**

Tick **This hub** if XProxy support should look at the machine that runs the hub. Tick every server that support should connect to. Then click **Start support**. The button says how many you ticked.

![The Remote Support page with the list of servers, one server ticked and the Start support button marked (demo data)](https://media1.xproxy.io/docs/hub/sup-1-list.webp)

> Nothing starts by itself. A session opens only when you press **Start support**.

**Step 3: Copy the PINs**

Each server gets its own session and its own **PIN**, shown together with the command that XProxy support types. Click **Copy all for XProxy support**. It copies one line per server, for example `Server name: xtool sp connect 12345`.

The PIN in the picture is a placeholder. A real PIN is shown **once** in this table.

![The table of opened support sessions with a PIN, the connect command and the Copy all for XProxy support button marked (demo data, placeholder PIN)](https://media1.xproxy.io/docs/hub/sup-2-pins.webp)

> Lost the table? Use **Show PIN** in **Open sessions**, as in the last step.

**Step 4: Send the block to XProxy support**

Paste the copied block into your message to XProxy support, for example in your support chat. Send it only to XProxy support. Anyone who has the PIN while the session is open can connect.

> The hub never sends a PIN to Telegram, to a webhook, to an API key or to an AI assistant. It only shows it to you on this page.

**Step 5: Show the PIN again or stop**

**Open sessions** lists every session that is running. Tick the sessions you want. **Show PIN** shows the PINs again. **Stop** ends them now and asks you to confirm. Stopping needs no passkey, because it only takes access away.

A session also ends by itself after **4 hours**.

![The Open sessions list with one session, the time left, and the Show PIN and Stop buttons marked (demo data)](https://media1.xproxy.io/docs/hub/sup-3-open.webp)

## What can XProxy support do, and what not?

- **They get a shell on the server you opened.** With the PIN they can look at that server and fix it, the same way as when you start support from the server panel. Starting a session on one server does not open the others.
- **They cannot connect without the PIN**, and the PIN works only while the session is open.
- **The hub never keeps the PIN.** It is not saved and not written to the log. The audit log records only that a session was started, shown or stopped, and who did it.
- **Only owners can start it, only in a browser.** API keys, AI assistants, Telegram and webhooks cannot start remote support or read a PIN.
- **It always ends.** A session stops after 4 hours, or when you press **Stop**. Stopping removes the support access from the machine.

## What does each server need?

- **Agent 0.9.7 or newer.** The agent is the XProxy helper program (`xtool`) that links the server to your hub. An older agent cannot be used, and the hub says **This server's agent is too old: it updates itself within a day**. It updates itself once a day. To do it now, run `sudo xtool update` on the server.
- **The server is online** in X-Hub. An offline server shows **Offline** on this page and cannot be ticked.

![The result table of Remote Support saying that the agent of the server is too old and updates itself within a day (demo data)](https://media1.xproxy.io/docs/hub/sup-4-too-old.webp)

What you see when a server still runs an old agent. Nothing was opened on that server.

## How do I open support on the hub machine itself?

Tick **This hub** in the list. XProxy support then gets a shell on the machine that runs X-Hub. Use this machine only for the hub, because support will have root access on it while the session is open.

- **The hub must run as root.** A hub installed with the current steps already does. A hub installed earlier runs as the `xproxy-hub` user. The **This hub** row then says so and shows one command. Run it once on the hub machine:

  Terminal

  ```
  sudo /var/lib/xproxy-hub/bin/xproxy-hub -install-service
  ```

  It switches the service to root and restarts the hub, which takes a few seconds. It is safe to run again: it changes nothing when everything is already right.
- **X-Hub on your box.** A hub that runs on a box has no **This hub** session. The box is one of your servers, so start support on that server instead.
- **The machine needs an SSH server** (install OpenSSH if it has none) and a way to download the support tool from x-proxy.io. If something is missing, the row says what.

## What changes when I add a passkey?

Passkeys are optional. Until an owner adds one, **Start support** and **Show PIN** work at once. After an owner adds a passkey, both ask for your approval first: the hub opens **Approve with your passkey**, and one approval covers all the servers you ticked. **Stop** never asks. See [Passkeys](https://xproxy.io/document/xproxy-hub-passkeys).

A passkey that you added a moment ago can be refused with **This server does not trust your new passkey yet**. On that server, open the panel, go to **Settings → XProxy Hub** and click **Trust these passkeys**, or wait up to 72 hours.

## FAQ

### It says the agent is too old

Wait up to a day, or run `sudo xtool update` on that server, then try again. See [Troubleshooting](https://xproxy.io/document/xproxy-hub-troubleshooting).

### It says remote support of this machine needs the hub to run as root

Run `sudo /var/lib/xproxy-hub/bin/xproxy-hub -install-service` once on the hub machine, as shown in the row. The hub restarts and the row becomes available.

### Can I start it from Telegram?

No. In a private chat with your bot, `/support &lt;server>` only sends you a link to the approval page, and only when you have a passkey. You still start the session in your browser.

## What next?

Keep your servers up to date, or read how alerts work.

[Software updates →](https://xproxy.io/document/xproxy-hub-updates) [Servers →](https://xproxy.io/document/xproxy-hub-servers) [Troubleshooting →](https://xproxy.io/document/xproxy-hub-troubleshooting)

---

Source: https://xproxy.io/document/xproxy-hub-remote-support
