HTTP(S), WS(S) and TCP tunnels to localhost using only SSH
open sourceMITself-hostablefree
sish is an open source, self-hosted alternative to ngrok written in Go: you run it on your own server, and anyone can expose a local web service to the internet over HTTPS, WSS or TCP with a plain ssh -R command, with no client to install. It serves the tunnels on subdomains of your domain with Let's Encrypt certificates, and ships as a Docker image with a docker-compose deployment and as binaries for Linux, macOS and Windows. Its maker runs a managed instance as tuns.sh, part of pico.sh's paid pico+ plan.
Problems it solves
- expose my local dev server on a public HTTPS URL without installing a tunnel client
- a self-hosted ngrok I can run on my own VPS and domain
- test Stripe or GitHub webhooks against my laptop through my own server
- share a TCP service on my home machine through a server I control using just SSH
Features
- HTTP(S), WebSocket and TCP tunnels to localhost
- clients connect with standard ssh -R, no client to install
- subdomains of your own domain with Let's Encrypt certificates
- Docker image and a docker-compose deployment
- public key authentication for who may open tunnels
- binaries for Linux, macOS and Windows on amd64 and arm64
Alternatives
The same job
These do what sish does.
- rathole A secure, stable and high-performance reverse proxy for NAT traversal, written in Rust
- frp A fast reverse proxy to expose a local server behind a NAT or firewall to the internet
- bore Minimal TCP tunnel that exposes local ports through a remote server
- ngrok Start on localhost, ship to prod.
- Cloudflare Tunnel (cloudflared) Cloudflare Tunnel client
- Pangolin Secure access to your apps, infrastructure and AI, built on WireGuard