Open source SSH tunneling for HTTP(S), WS(S), TCP, aliases, and SNI.
If you like the simplicity of serveo/ngrok-style sharing but want to use plain
SSH and run your own infrastructure, sish is built for that.
- No custom client required for end users
- Public and private tunnel workflows
- Docker and binary releases
- Designed for production-grade self-hosting
Docs | Managed Service | Releases | Docker Images | Sponsored by pico.sh
sish runs an SSH server focused on forwarding and multiplexing. Users connect
with commands they already know, and sish handles the routing.
- Share a local web app instantly over HTTPS
- Expose a TCP service to a fixed or random external port
- Create private TCP aliases that are only reachable through authenticated SSH
- Route TLS traffic by SNI to multiple backends without terminating TLS
The fastest way to validate your workflow:
ssh -R 80:localhost:8080 tuns.shThis creates a public URL for your local app running on port 8080.
Pull image:
docker pull antoniomika/sish:latestPrepare directories:
mkdir -p ~/sish/ssl ~/sish/keys ~/sish/pubkeys
cp ~/.ssh/id_ed25519.pub ~/sish/pubkeysRun:
docker run -itd --name sish \
-v ~/sish/ssl:/ssl \
-v ~/sish/keys:/keys \
-v ~/sish/pubkeys:/pubkeys \
--net=host antoniomika/sish:latest \
--ssh-address=:2222 \
--http-address=:80 \
--https-address=:443 \
--https=true \
--https-certificate-directory=/ssl \
--authentication-keys-directory=/pubkeys \
--private-keys-directory=/keys \
--bind-random-ports=false \
--domain=example.comThen connect:
ssh -p 2222 -R 80:localhost:8080 example.comssh -R myapp:80:localhost:8080 tuns.shYour app at localhost:8080 becomes available at https://myapp.tuns.sh.
ssh -R 2222:localhost:22 tuns.shlocalhost:22 is available at tuns.sh:2222
ssh -R mylaptop:22:localhost:22 tuns.shAccess from another client:
ssh -J tuns.sh mylaptop- HTTP(S), WS(S), TCP forwarding, and multiplexing
- TCP aliases for private internal-only access patterns
- SNI proxy support for TLS-based backend routing
- Optional load balancing modes for HTTP/TCP/SNI aliases
- Service console support for inspecting forwarded requests
- Key and password authentication with dynamic key reloading
- Restrictive binding policies for safer multi-tenant setups
Clone:
git clone git@github.com:antoniomika/sish.git
cd sishStart locally:
go run main.go --http-address localhost:3000 --domain testing.ssi.shOr use:
make devTest a tunnel:
ssh -p 2222 -R 80:localhost:8080 testing.ssi.shtesting.ssi.sh is configured to point to localhost for development.
- IRC: #sish on libera / #pico.sh on libera
- Email: me@antoniomika.me