vscode-tunnel
par listky
Coding Agents & IDEsRésumé
Start VS Code Remote Tunnel in Docker containers for remote terminal access.
Description
Ce que fait ce skill
Starts and manages a VS Code Remote Tunnel inside Docker containers, allowing remote terminal access through VS Code's browser or desktop client. Handles CLI installation, background process management, and Microsoft account authorization.
Avoids SSH configuration and port forwarding by using VS Code's built-in tunnel infrastructure to reach containers directly.
Quand l'utiliser
- Accessing a dev container remotely from any device
- Debugging a Docker environment without SSH setup
- Sharing a container session with a teammate via VS Code
- Reconnecting to a named tunnel after container restart
- Checking tunnel status or live logs during a remote session
Exemple de workflow
User asks: start vscode tunnel named dev-env
- 1
Runs bash tunnel.sh start dev-env
- 2
Downloads VS Code CLI to ~/.vscode-cli if not present
- 3
Starts tunnel process in background
- 4
Reads authorization code from log output
- 5
Displays code for Microsoft account login in VS Code
Tunnel dev-env is running. Enter the displayed code in VS Code to authorize and connect.
Prérequis
- Microsoft account (for tunnel authorization)
Installation
clawhub install listky/vscode-tunnelExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.