CC Desk Tunnel
An open-source tool that keeps Claude Code running persistently on a Linux server and connects multiple computers as execution endpoints through an encrypted WSS tunnel, enabling Agent session handoff across devices without a public IP address or network setup.
Timeline (last 90 days)
CC Desk Tunnel keeps Claude Code resident on a Linux server, where the server handles model requests, conversations, and context, while multiple client computers handle actual execution.
CC Desk Tunnel uses a WSS encrypted tunnel between the server and the computers, with a default port of 8787.
Within the same WSS tunnel, the control connection handles authentication, conversation, approvals, and settings, while the execution channel opens another WSS carrying HTTP/2 CONNECT streams, each of which is ultimately forwarded to the local sshd.
The server exposes the random SSH port only on the loopback address, so it cannot be accessed directly from outside.
CC Desk Tunnel supports two ways of establishing trust: CA and domain verification, or SHA-256 fingerprint verification of a pinned self-signed certificate; the self-signed certificate fingerprint must be obtained through a trusted channel.
Early versions used frp for reverse mapping, but it has now switched to native HTTP/2 CONNECT and no longer requires third-party tunneling programs.
Each painting executes on the computer where its project resides; the run belongs to the device where the painting is located, not the device that initiated the message.
The desktop client, browser, phone, and terminal CCDT see the same set of paintings, and all entry points subscribe to the same event stream.
When a device disconnects, the CLI keeps running, new commands wait at the entry point for the device to reconnect, and the run stops only after exceeding the grace period; after the client reconnects, it catches up on the intervening content from the server's event log.
File versioning is implemented through the same tunnel: the main process opens another WSS carrying an SSH connection with SFTP enabled, supporting browsing files on the local machine, the server, and other online computers, as well as preview, upload, download, and cross-device copy.
5 more timeline events
All Facts (15)
CC Desk Tunnel keeps Claude Code resident on a Linux server, where the server handles model requests, conversations, and context, while multiple client computers handle actual execution.
50%UnverifiedCC Desk Tunnel uses a WSS encrypted tunnel between the server and the computers, with a default port of 8787.
50%UnverifiedWithin the same WSS tunnel, the control connection handles authentication, conversation, approvals, and settings, while the execution channel opens another WSS carrying HTTP/2 CONNECT streams, each of which is ultimately forwarded to the local sshd.
50%UnverifiedThe server exposes the random SSH port only on the loopback address, so it cannot be accessed directly from outside.
50%UnverifiedCC Desk Tunnel supports two ways of establishing trust: CA and domain verification, or SHA-256 fingerprint verification of a pinned self-signed certificate; the self-signed certificate fingerprint must be obtained through a trusted channel.
50%UnverifiedEarly versions used frp for reverse mapping, but it has now switched to native HTTP/2 CONNECT and no longer requires third-party tunneling programs.
50%UnverifiedEach painting executes on the computer where its project resides; the run belongs to the device where the painting is located, not the device that initiated the message.
50%UnverifiedThe desktop client, browser, phone, and terminal CCDT see the same set of paintings, and all entry points subscribe to the same event stream.
50%UnverifiedWhen a device disconnects, the CLI keeps running, new commands wait at the entry point for the device to reconnect, and the run stops only after exceeding the grace period; after the client reconnects, it catches up on the intervening content from the server's event log.
50%UnverifiedFile versioning is implemented through the same tunnel: the main process opens another WSS carrying an SSH connection with SFTP enabled, supporting browsing files on the local machine, the server, and other online computers, as well as preview, upload, download, and cross-device copy.
50%UnverifiedThe server uses Landlock to confine the Claude process and plugins to the project directory; if the kernel does not support Landlock, this layer of isolation fails.
50%UnverifiedThe server's one-click installation script runs install.sh on Ubuntu, checks Docker, pulls a pinned image version, and prints the service address, certificate fingerprint, service credentials, and the ports to open (by default only TCP 8787).
50%UnverifiedCCDT is a command-line tool provided by CC Desk Tunnel, and its online command lets a device register with the server as an execution endpoint and maintain a WSS tunnel connection.
50%UnverifiedAnyone holding the service credentials can read all paintings, drive the Claude account, and use Claude to execute arbitrary commands as the user on every online device.
50%UnverifiedCC Desk Tunnel is not a multi-tenant system and is only suitable for a single user's own trusted devices; there is also no enforced isolation between devices under the same service.
50%