Skip to content

Connect More Boxes to X-Hub

Ask AI

Ready taskDo it with me, step by step

Chat assistants

Open in ChatGPTNew tabOpen in ClaudeNew tab

Coding agents

Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the web

Copy

View as MarkdownPlain text for AI tools
See the prompt
Read https://xproxy.io/document/xproxy-hub-connect-boxes.md, the XProxy guide "Connect More Boxes to X-Hub". If you cannot open links, download them with curl. Then take me through it one step at a time: tell me exactly what to click or type, wait until I say it is done, and help me when what I see is different from the guide. Start by asking what I have (hardware, XProxy version, what I see now).
Other XProxy guides, each with a Markdown copy at its URL + .md, are listed in https://xproxy.io/llms.txt.

The app opens with the prompt filled in. Nothing runs until you press Enter.

Add another XProxy box to your X-Hub with one command on that box and a short code in X-Hub. You never type a password for the box.

You need: a running X-Hub and an XProxy box that can reach it. The box that runs X-Hub on itself is added automatically.

The box prints a one-time code, you type it in X-Hub, and the box connects. No password is ever typed or sent.

How do I connect a box?

Step 1 of 5

Open a terminal on the box you want to add

Log in to the second box over SSH, or use its screen and keyboard. If you are not sure how, see Open the dashboard and Remote support.

That box needs a recent XProxy version and a connection to your X-Hub.

How do I check the link on the box?

Terminal
xtool hub status

It shows the X-Hub address, the Box ID, when it was paired and whether the agent is running.

How do I remove a box from X-Hub?

  1. In X-Hub, open Dashboard and click the server name to open its page.
  2. An owner clicks Remove server and confirms. Its open incidents close and its stored events are deleted.
  3. The box keeps working. Its agent logs this hub no longer knows this box; run: sudo xtool hub disconnect and stops. Run that command on the box to forget X-Hub.

To use the box with an X-Hub again, pair it again with a new code.

FAQ

The command says the X-Hub address uses plain http://

Add --insecure if X-Hub is on your own network. For X-Hub on the internet, use an https:// address instead.

The command says it cannot reach X-Hub

Open the X-Hub address in a browser on the same network as the box. X-Hub on a box only answers your LAN and Tailscale. See Troubleshooting.

It says the box is already connected

Run sudo xtool hub disconnect first, then pair again.

Does X-Hub see my box passwords?

No. Pairing needs only the code. The box hides every password, token and key before it answers X-Hub.

What next?

See all your boxes in one place.

Still stuck?A technician can look at your device with a one-time PIN, or chat with us on Telegram.