VSCode Tunnel
0. Prereqs
Make sure the VS Code CLI is installed and on your PATH:
code --version1. Install code tunnel as a user systemd service
code tunnel service install[2025-11-22 16:27:33] info Tip: run `sudo loginctl enable-linger $USER` to ensure the service stays running after you disconnect.
Service successfully installed! You can use `code tunnel service log` to monitor it, and `code tunnel service uninstall` to remove it.2. Useful commands
# Status
systemctl --user status code-tunnel
# Restart manually
systemctl --user restart code-tunnel
# View logs
code tunnel service log
# or
journalctl --user-unit=code-tunnel -f3. Auto login for the user
sudo loginctl enable-linger $USER