Just a simple ssh/http tunnel built with go
-
Run the server with
go run main.go -
Open a new tab in the terminal and execute
ssh -tt localhost -p 2222 <<< "some message here" -
In the tab where
main.gois running, an ID will appear. Access it in your browser by going tolocalhost:8080/?id=paste_the_id