serveo-cli
v0.1.0
Published
Expose localhost through Serveo using the OpenSSH client already on your system
Maintainers
Readme
serveo-cli
A tiny, zero-dependency wrapper around the OpenSSH client already on your system.
npx serveo-cli 3000This runs the equivalent of:
ssh -R 80:localhost:3000 -- serveo.netThe public URL appears in your terminal. Keep the process running while you need the tunnel.
Options
npx serveo-cli 3000 --ssh-port 443
npx serveo-cli 3000 --host-header localhost:3000
npx serveo-cli 3000 --https-only
npx serveo-cli 3000 --hostname my-app.serveousercontent.comReserved hostnames require a Serveo account and public key. See the Serveo documentation for account setup, PuTTY, WireGuard, browser-extension tunnels, and advanced proxy options.
The wrapper passes validated arguments directly to ssh without invoking a shell. Run with --dry-run to inspect the resulting command.
