mirror of
https://github.com/antoniomika/sish.git
synced 2024-05-03 09:25:11 +08:00
HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH.
f381389cb0
* Update deps * Use bufio reader * Revert "Use bufio reader" This reverts commit |
||
---|---|---|
.github | ||
.vscode | ||
cmd | ||
deploy | ||
docs | ||
httpmuxer | ||
sshmuxer | ||
templates | ||
utils | ||
.dockerignore | ||
.gitignore | ||
.goreleaser.yml | ||
config.example.yml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.md |
sish
An open source serveo/ngrok alternative.
dev
Clone the sish
repo:
git clone git@github.com:antoniomika/sish.git
cd sish
Add your SSH public key:
cp ~/.ssh/id_ed25519.pub ./deploy/pubkeys
Run the binary:
go run main.go --http-address localhost:3000 --domain testing.ssi.sh
We have an alias make dev
for running the binary.
SSH to your host to communicate with sish:
ssh -p 2222 -R 80:localhost:8080 testing.ssi.sh
The
testing.ssi.sh
DNS record points tolocalhost
so anyone can use it for development