Skip to content

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.

  • 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.
  1. Open the connector popover or tray menu.
  2. Choose Pair device if a pairing screen is not already visible.
  3. Copy the activation link shown by the connector, or open it directly.
  4. Sign in at app.opencodecloud.link if prompted.
  5. Claim the pairing for your account.
  6. 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.

  1. Open the connector popover or tray menu.
  2. Choose Pair device to show a QR code.
  3. In OpenCode Mobile, open Settings → Cloud Link.
  4. Choose Subscribe or Restore purchases if the app asks.
  5. Tap Scan QR code and scan the connector code.
  6. 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.

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.

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.

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 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.

  • 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.

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.