Pairing and Activation
Pairing connects one machine running CloudLink to one CloudLink account. The machine operator must approve the claimed device before the tunnel starts. You can claim a pairing from the browser console or from OpenCode Mobile.
Before you pair
Section titled “Before you pair”- The connector is installed and running on the machine.
- A CloudLink account and active subscription exist.
- You can see the computer screen and either the browser console or the phone.
- OpenCode Mobile is optional. If you use it, install it from the App Store or Google Play.
Pair from the browser
Section titled “Pair from the browser”- Open the connector popover or tray menu.
- Choose Pair device if a pairing screen is not already visible.
- Copy the activation link shown by the connector, or open it directly.
- Sign in at
app.opencodecloud.linkif prompted. - Claim the pairing for your account.
- On the computer, review the claimed device name and choose Approve. The tunnel starts after approval.
Pairing activation still requires local approval. A browser session alone cannot start the tunnel.
Pair from OpenCode Mobile
Section titled “Pair from OpenCode Mobile”- Open the connector popover or tray menu.
- Choose Pair device to show a QR code.
- In OpenCode Mobile, open Settings → Cloud Link.
- Choose Subscribe or Restore purchases if the app asks.
- Tap Scan QR code and scan the connector code.
- On the computer, review the device name and choose Approve or Deny.
The QR code does not contain the tunnel credential. The connector receives its machine-scoped tunnel token only after approval.
What the account saves
Section titled “What the account saves”After approval, the connector receives a stable public URL and machine identity. The control plane records the machine and pairing status. It does not store a per-device secret, and app traffic does not pass through the control plane.
The browser account can list and remove machines. OpenCode Mobile can do the same when it is used. Removing a machine retires its tunnel and DNS record.
Re-pair the machine
Section titled “Re-pair the machine”Use Pair device when you need a fresh pairing, for example after changing the proxy port or moving the installation. Re-pairing:
- preserves the installation identity and usually the same public hostname;
- interrupts the current connection;
- requires a new claim and a new approval on the machine.
If a saved credential is rejected, use Pair device,
Settings → Remove saved connection, or the CLI --reset option. Invalid
credentials do not trigger an automatic registration or reset.
Remove a saved connection
Section titled “Remove a saved connection”Settings → Remove saved connection forgets the pairing on this computer. The machine stays in your CloudLink account, and local settings and services remain. The connector stops trying to connect until you pair again. The action does not contact the control plane.
This is useful when a subscription lapses or a tunnel is suspended and you do not want repeated retries.
Remote browser access
Section titled “Remote browser access”Remote browsers use a separate credential generated by the connector, not the pairing activation link:
- public URL:
https://m-<random>.opencodecloud.link - username:
browser - password: a random 64-character value
Show or copy these values from the popover. Regenerating the password invalidates existing browser logins without changing a phone credential. See Remote browser access.
If a device is lost
Section titled “If a device is lost”- Pairing activations and QR codes expire on their own.
- Regenerate the browser password to sign out remote browser sessions.
- Delete the machine in the browser console or OpenCode Mobile to retire its tunnel and DNS record.
- Pair a replacement phone or browser after the machine is available again.
Per-device revocation is not implemented. Treat the account, QR codes, activation links, and browser password as sensitive.
Troubleshooting
Section titled “Troubleshooting”| Symptom | What to check |
|---|---|
| No pairing screen | Wait for startup, then choose Pair device |
| Activation link expired | Generate a fresh pairing; links last five minutes |
| Pairing waits for approval | Approve or deny the device on the computer |
| Browser cannot claim the pairing | Sign in to the console, then reopen the activation link |
| QR code is rejected | Use a code from the matching environment and a current connector |
| Machine is listed but cannot connect | Confirm the connector is running and online |
| Tunnel credentials rejected | Re-pair or remove the saved connection, then pair again |
For more, see Troubleshooting.
CloudLink (OpenCode Cloud Link) is an independent product. It is not built by the OpenCode team, is not endorsed by them, and is not affiliated with them in any way. See thePrivacy Policy andTerms & Conditions.