X-Hub Passkeys: Approve Risky Changes
Ask AI
Ready taskDo it with me, step by step
Chat assistants
Open in ChatGPTNew tabOpen in ClaudeNew tabCoding agents
Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the webCopy
View as MarkdownPlain text for AI toolsSee the prompt
Read https://xproxy.io/document/xproxy-hub-passkeys.md, the XProxy guide "X-Hub Passkeys: Approve Risky Changes". 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.
A passkey is your fingerprint or Face ID used as a key. Once you add one, changes that could hurt your boxes wait until you approve them on your phone or laptop.
You need: X-Hub on a VPS with an https domain, and an owner login. Passkeys do not work on X-Hub on your box.
What needs a passkey?
| Needs your approval (risky) | Never needs it (everyday) |
|---|---|
| Changing box settings Software updates Rebooting a whole box Selling settings IMEI and MAC changes Restarting VPS forwarding Anything not on the everyday list | Reading anything Rotating IPs and rotation schedules Rebooting a modem, USB reset, connect and disconnect Labels and notes Diagnostics and speed tests VPS doctor and public reach check |
How do I set up passkeys?
Step 1 of 6
Passkeys are tied to your X-Hub's address. Open X-Hub at your domain, for example https://hub.example.com, and sign in as an owner. Open Passkeys under Admin.
On an IP address or plain http, the page says Passkeys need the hub opened at its real address over https (or at localhost).
Why bother?
Each box checks your approval itself. A stolen API key, a misled AI assistant or someone who got into your X-Hub's data cannot do a risky change, because they do not have your passkey. Adding a server still needs only its pairing code.
What happens before I add a passkey?
Owners can make risky changes after a confirmation, from the places you allow. The page Passkeys then shows Risky changes without a passkey with four switches: The hub in a browser, Scripts with an API key, AI assistants (MCP) and Your Telegram (owner accounts). All are on by default. Once you add a passkey, these switches no longer apply.
FAQ
I lost every passkey
X-Hub cannot undo the rule, on purpose. Log in to the box as root and run sudo xtool hub reset-owner. The box forgets the passkeys and trusts the next set your X-Hub sends. This is the only way, so add a second passkey early.
Can I remove a passkey or an owner?
You can remove only your own passkeys. Removing a passkey, or deleting, disabling or demoting a user, is refused if no enabled owner would keep a passkey your boxes trust.
Why not on X-Hub on my box?
Passkeys need an https address on a domain. X-Hub on your box has none. For passkeys, install X-Hub on a VPS.
What next?
Add the people who need access, and connect an AI assistant.

