Agent-native SSH tunnel managerAgent 原生 SSH 隧道管理器

SSH tunnels
for you and your Agent
SSH 隧道
你和 Agent 用着都顺手

Keeping SSH tunnels alive is a chore: pros juggle autossh, a systemd unit per tunnel, and a pile of -L/-R/-D flags — and reconnect by hand when one drops; newcomers don't even know where to start. tunlite folds it into one command: type it yourself, or just tell an AI Agent — it builds the tunnel, connects, and reconnects on its own. 挂 SSH 隧道有多烦,用过的都懂:老手要配 autossh、写 systemd 单元、记一堆 -L/-R/-D,断了还得手动重连;新手连免密、参数都不知道从哪下手。tunlite 全收进一个命令——自己敲,或用大白话交给 AI Agent,它替你建好、连上、断了自动重连。

Agent-nativeAgent 原生 Live status实时状态 Lightweight轻量 MIT
Claude Code
Forward the Postgres on app01 to my laptop.把 app01 上的 Postgres 转发到我电脑。
On it — adding a local forward; it comes up automatically.好的,加一条本地转发,我来帮你操作。
tunlite add pg --to deploy@app01 -L 5432:localhost:5432 --jsonok · starting
Connected — here's the status.连上了,给你看下状态。
tunlite status pg --jsonup · 3s
Done — localhost:5432 now reaches app01's Postgres, and the daemon keeps it alive.搞定 —— localhost:5432 现在能连到 app01 的 Postgres 了,守护进程会一直帮你守着。

Agent-nativeAgent 原生

--json and stable exit codes on every command, plus a bundled Agent skill — an AI Agent manages your tunnels end-to-end.每个命令都带 --json 和稳定退出码,还内置一份 Agent skill —— AI Agent 能端到端地接管你的隧道。

No third-party deps零第三方依赖

Pure Node.js standard library — no npm packages. All it needs is Node ≥ 18 and the system ssh it wraps.纯 Node.js 标准库,不装任何 npm 包。机器上只要 Node ≥ 18 和它封装的系统 ssh

Replaces autossh + systemd取代 autossh + systemd

Named tunnels a daemon keeps alive with backoff reconnect, and the OS restarts at login — no per-tunnel unit files to hand-write.命名隧道由守护进程退避重连保活、开机由系统拉起 —— 不用再给每条隧道手写一个 unit 文件。

Get started in 30 seconds30 秒上手

Install with your AI Agent让 AI Agent 帮你装

Read and follow https://tunlite.dev/skill.txt
to install tunlite (an SSH tunnel manager) and its skill.

— or install it yourself ——— 或者自己装 ——

$ npx tunlite install

Prefer curl, or no Node? More install options →想用 curl,或没装 Node?更多安装方式 →

Everything else — multi-forwards, daemon-less run, jump hosts, tags, webhooks — is in the full documentation → 其余的 —— 多转发、无守护进程的 run、跳板机、标签、webhook —— 都在完整文档里 →

See it run看它跑起来

tunlite — define a tunnel, the daemon brings it up, check status, tail logs
Define a tunnel once — tunlite brings it up and keeps it connected.建一条隧道 —— tunlite 帮你连上,并一直保持在线。

Live top-style dashboard实时 top 式面板

tunlite monitor — live top-style dashboard with auto-reconnect
tunlite monitor — a live dashboard for every tunnel's state, with auto-reconnect in front of you.tunlite monitor —— 每条隧道的状态尽在掌控,守护进程在你眼前自动重连。