@lazyingart/lazytunnel
v0.3.3
Published
LazyRemote’s self-hosted SSH relay with independent accounts, device enrollment and private noVNC access.
Maintainers
Readme
English · العربية · Español · Français · 日本語 · 한국어 · Tiếng Việt · 中文 (简体) · 中文(繁體) · Deutsch · Русский
LazyTunnel
SSH between private computers, independent of desktop control.
LazyTunnel is a small OpenSSH and systemd toolkit for connecting private computers through a cloud relay. Each endpoint initiates its own tunnel. Switching UU, RDP or VNC control does not own that connection. Shell access and file transfers keep their native SSH authentication.
| Donate | PayPal | Stripe |
| --- | --- | --- |
| |
|
|
Bandwidth and safe updates
CLI 0.3.1 adds an optional noVNC data saver: idle viewers pause after 2 minutes, hidden viewers after 10 seconds. Resume reconnects normally, and Keep live supports watching without typing. Small validated code updates travel over existing SSH routes and preserve credentials and running carriers.
Viewer setup, fleet updates and rollback.
Native apps, independent core
Meet LazyRemote, the product experience powered by this independent core. Launch website · Downloads and release notes. The current native preview is named LazyTunnel; existing commands and application identifiers stay unchanged.
The optional native app supports Ubuntu, macOS, Windows, iOS and Android with real Flutter management screens, secure saved connections, verified SSH terminals and private noVNC/web viewers. A standalone Python agent and a pure-Dart transport library remain independent of both native and browser GUIs.
Native installation, connection setup, builds and signing.
Apple release guide: the workflow learned from EchoMind, an explicit release plan and a read-only readiness command. The iOS preview has not yet been uploaded to TestFlight or submitted to App Review.
Install the CLI with npm
One small package provides the client and Linux relay administration commands. npm installation starts no services and keeps enrollment, credentials and remote desktops unchanged. The native graphical app remains a separate download.
npm install -g @lazyingart/lazytunnel
lazytunnel-client install
lazytunnel-client doctorOn the Linux relay:
lazytunnel-server install
sudo lazytunnel-server install --applyComplete npm installation, enrollment and update guide.
One relay, separate accounts
Use the MIT-licensed core for your own devices or a service with independent accounts. CLI 0.3.0 adds account keys/passwords, pinned invitations, owner-only enrollment and revocation. Each account gets its own device list and SSH permissions; existing fleets remain together until an explicit upgrade.
After receiving an invitation from your server operator:
lazytunnel-client login --invite alice.json --name laptop --identity ~/.ssh/lazytunnel-account
lazytunnel-client account devices --identity ~/.ssh/lazytunnel-account
lazytunnel-client syncAccount setup, isolation, limits and migration.
Design
Reverse listeners stay on cloud loopback. Separate keys identify tunnel, jump and endpoint roles; host keys are pinned. No VPN, container, default-route change or public desktop port is required. This complements LazyEdge; it does not bypass its HTTP guards.
alpha ── outbound SSH ── cloud loopback ── outbound SSH ── betaQuick start
The example contains synthetic keys and an invalid hostname: use it to inspect output, not to connect. Enroll real peers independently and review the complete deployment guide before using an installer.
python3 lazytunnel.py validate --config examples/two-peers.json
python3 lazytunnel.py plan --config examples/two-peers.json
python3 -m unittest discover -s tests -vFiles and deployment
Read the architecture and operator runbook. The enrollment helper keeps private keys on their originating endpoint. Edge and worker installers print a plan unless explicitly given --apply. Existing UU aliases and desktop services stay unchanged.
docs/design.md · docs/operations.md · scripts/ · tests/
Private web access
On beta, open a local service hosted on alpha through the existing SSH route. Run the commands below, then browse http://127.0.0.1:6144/wechat on beta. The listener stays private and does not change desktop services.
install -D -m 0755 scripts/lazy-web "$HOME/.local/bin/lazy-web"
lazy-web run alpha 6144Persistent forwards, remote LAN targets, SOCKS and troubleshooting.
Validation and status
Early operator-reviewed release. Renderer tests and cloud administration bootstrap have been checked; every actual deployment still needs bidirectional shell, file-transfer, failure-recovery and negative-permission tests. Boot enablement is not a reboot test. Systemd can restore a connection, not a lost shell; use remote tmux.
SSH names across devices
Reviewed endpoint helpers preserve existing SSH settings and install the same private device names on Linux, macOS and Windows. Each device keeps its own private keys.
Device enrollment, routes and rollback.
Independent server and clients
The fleet extension supports Linux, macOS and Windows with separate server and client updates. Device keys and private configuration stay outside Git; a pinned SSH registry lets an enrolled client refresh its device list without administrator credentials. The live seven-device deployment passed all 49 directed SSH checks; boot settings were inspected without rebooting.
On an enrolled Linux/macOS client:
lazytunnel status
lazytunnel devices
ssh-lazy-alpha
lazytunnel sync
lazytunnel web alpha 6144 --local-port 16144 --path /wecomInstallation, enrollment/login, updates, Windows fixes and private noVNC access.
Optional private GUI
A lightweight browser console brings enrolled computers, on-demand SSH checks and saved noVNC viewers together. It includes search, grid/list layouts, light/dark themes and a phone-sized layout. On Linux, viewer forwards have their own systemd services and survive a GUI restart. Keys and access codes remain private; existing desktops and SSH carriers are preserved.
cd /path/to/LazyTunnel
python3 scripts/lazytunnel-client.py update --source .
lazytunnel gui install
lazytunnel gui code
lazytunnel guiInstallation, access-code unlock, remote browsers and security boundaries.
Citation
If you use LazyTunnel, cite this repository. GitHub reads CITATION.cff for its citation panel. CITATION.cff
@software{chen_lazytunnel_2026,
author = {Chen, Lachlan},
title = {LazyTunnel: independent private SSH relays},
year = {2026},
url = {https://github.com/lachlanchen/LazyTunnel}
}

