English · 简体中文
A clean local UI for managing SSH proxy tunnels from Windows to remote Linux hosts through Clash.
Download v1.5.0 ZIP · Releases · UI Guide · Architecture · Issues
Overview, tunnel health, and the local Clash endpoint in one window. The screenshot uses documentation-only preview data.
Important
No web server deployment or Node.js installation is required. Download the release ZIP, extract it,
and double-click Open-ProxyManager.vbs. The UI handles remote script installation and tunnel onboarding
only when you add a Linux target.
This is a local Windows manager for routing account traffic from remote Linux hosts through your local Clash proxy over SSH reverse tunnels. Targets are isolated: enabling, disabling, updating, or removing one target does not affect the others.
| Local control | Target isolation | Secure defaults |
|---|---|---|
| One React dashboard for overview, targets, and activity | Each target has its own task, tunnel, and SSH key | Manager and proxy endpoints are loopback-only |
| UI-led SSH checks, installation, startup, and health verification | Target access can be enabled or disabled independently | Passwords are not stored and private keys stay local |
- Download clash-ssh-proxy-bootstrap-1.5.0.zip (or browse GitHub Releases) and extract it.
- Keep
Open-ProxyManager.vbs,web/dist, and the other files in their original directory layout. - Double-click
Open-ProxyManager.vbs. - Approve the Windows UAC prompt; the local React UI opens automatically.
Normal use does not require npm, Node.js, Docker, a database, or a separate web server.
When you close the window (X), the manager stays resident in the Windows system tray without stopping
active tunnels (click the tray icon to reopen; right-click for Disable All Tunnels,
Disable All & Exit, or Exit Tray (Keep Tunnels)).
- Windows 10 or Windows 11.
- Windows OpenSSH Client (
ssh.exe,scp.exe, andssh-keygen.exe). - Clash or an HTTP-compatible mixed proxy listening on
127.0.0.1:7897. - A reachable SSH account on the Linux target; root is not required.
- OpenSSH server, Bash,
curl, and standard GNU tools (timeout,awk,mktemp) on Linux.
- Open Targets and click Add target.
- Enter the target name, Linux host/IP, Linux user, SSH port, and remote proxy port.
- Leave the private-key path under Advanced SSH settings empty so the manager creates a dedicated Ed25519 identity for this target.
- Click Continue to SSH check.
- If the remote account has not accepted the public key yet, click Open SSH setup. In the temporary
PowerShell window, if SSH asks to trust the host for the first time (
yes/no), typeyesand press Enter first, then type or paste the Linux password once at the password prompt and press Enter. Password characters stay hidden (use right-click orShift+InsertifCtrl+Vdoes not paste) and are never stored. - Return to the wizard, click Verify SSH, and wait for Install & verify to finish.
- After onboarding, enable or disable the target and inspect its health from the target list.
The wizard installs the Linux runtime scripts, creates the Windows scheduled task, starts the reverse tunnel, and verifies end-to-end proxy traffic.
New Bash login sessions enable the proxy automatically. In an already open Bash terminal, load it once with
source ~/.bashrc:
source ~/.bashrc # load into an already open shell
proxy_status # verify end-to-end reverse tunnel connectivity
proxy_off # temporarily disable proxy variables in this shell
proxy_on # re-enable proxy variables in this shell| Page | What you can do |
|---|---|
| Overview | Check the local Clash endpoint, active tunnels, health, and attention items |
| Targets | Add, inspect, edit, enable, disable, check, or remove targets |
| Activity | Review health checks, recovery, enable/disable, and removal events |
| Settings | Switch between English and Chinese, toggle start on Windows sign-in for background tunnels, and manage release update reminders (Remind later, Skip version, Don't remind again) |
Clicking a target row opens a separate target detail drawer; the page does not jump or scroll to another section. Refresh keeps the current layout and loads real local manager state instead of placeholder devices.
- Every target receives a stable target ID and a dedicated local Ed25519 private key.
- Exact duplicate detection uses server address + user; SSH port is a connection setting, not target identity.
- Windows keeps the private key; the Linux account receives the matching public key.
- Removing a target explicitly asks whether a manager-generated dedicated key should also be deleted (and supports local-only removal if a remote host is already offline or decommissioned); external keys are never deleted.
- The manager bridge and Linux proxy endpoint listen only on
127.0.0.1. - The Linux account itself is never deleted, and disabling one target does not affect other servers.
Every operation is also available through proxy-manager.ps1 as the single source of truth, with structured -Json output for automation and AI coding agents:
- One-command diagnostics:
.\proxy-manager.ps1 doctor(or-Json) checks configuration validity, elevation status, local Clash reachability, startup trigger alignment, target tunnel health, and unused managed key files without modifying state. - Start on Windows sign-in:
.\proxy-manager.ps1 set-autostart -AutoStart on|off [-Json](elevated) toggles Windows sign-in (AtLogOn) triggers on managed tunnel scheduled tasks without stopping running tunnels or changing per-target enabled states. - Passwordless / cloud server onboarding: When a Linux server disables SSH password login and you already have an authorized local key, pass
-BootstrapIdentityFile ~/.ssh/id_ed25519(or use the optional key option in the UI SSH wizard) to deploy the newly generated dedicated public key non-interactively without ever storing your existing key inconfig.json:$prep = .\proxy-manager.ps1 prepare-ssh -Name edge-prod -RemoteHost 203.0.113.10 -RemoteUser ubuntu -Json | ConvertFrom-Json .\proxy-manager.ps1 bootstrap-key -Name edge-prod -TargetId $prep.TargetId -RemoteHost 203.0.113.10 -RemoteUser ubuntu -BootstrapIdentityFile ~/.ssh/id_ed25519 -Json .\proxy-manager.ps1 add -Name edge-prod -TargetId $prep.TargetId -RemoteHost 203.0.113.10 -RemoteUser ubuntu -Confirm:$false -Json
- Built-in agent contract: AGENTS.md and skills/clash-ssh-proxy/SKILL.md instruct coding agents (Antigravity, Codex, Claude Code, Cursor) to use
proxy-manager.ps1, keep per-target managed keys isolated, and verify changes withvalidate-configandstatus.
Double-click Open-ProxyManager.vbs. Closing the window (X)
minimizes to the Windows system tray when background tunnels are active, and never stops enabled tunnels.
Click the tray icon or double-click Open-ProxyManager.vbs again at any time to reopen the UI.
No manager deployment is required. This is a local Windows application: download, extract, and launch it. Remote installation during Add target only onboards a Linux account to the proxy tunnel; it is not web server deployment.
Only when the remote account has not accepted the SSH public key yet. If SSH asks to trust the host for the
first time (yes/no), type yes and press Enter first; once the password prompt appears, type or paste the
Linux password and press Enter. SSH password input does not echo characters or asterisks (use right-click or
Shift+Insert if Ctrl+V does not paste). The password is never saved.
Start Clash, confirm that its mixed proxy listens on 127.0.0.1:7897, and click Refresh status on
Overview. If your local proxy listens on another port (such as 7890), update proxy.localPort in
%LOCALAPPDATA%\ClashSshProxy\config.json (and run .\proxy-manager.ps1 update-all if targets already exist).
The controller currently supports Windows; Linux hosts are managed targets. A Linux/macOS controller is not included yet. The UI is built with React/Vite, while PowerShell provides the local bridge and tunnel management. Normal users do not need to build the frontend.




