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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.