vscode-tunnel
由 listky 提供
Coding Agents & IDEs简介
Start VS Code Remote Tunnel in Docker containers for remote terminal access.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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.
前置要求
- Microsoft account (for tunnel authorization)
安装
clawhub install listky/vscode-tunnel运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。