Live data from Hacker News

Show HN: Quick tunnels to localhost with one command and no binary download

pinggy.io

21–30 of 46 posts

Re: Show HN: Quick tunnels to localhost with one command and no binary download

#21

Earlier quoted context omitted.

Good point. It opens a SSH tunnel from Pinggy server to your localhost, such that the pinggy server can connect to only the port of your localhost that you specify in the command. The ssh port forwarding command is a standard one and your ssh client ensures that the access is restricted to the port you are specifically exposing. In other words, you are trusting your own system and your ssh client installation for sec…

What are the implications of SSHing into some random server? Could you also add some instructions on the kind of precautions one should take before ssh into pinggy

The implication of the ssh port forwarding command is that pinggy is able to connect to the port you are specifying. For example 8000. Then Pinggy and through pinggy anyone who visits the public URL can connect to port 8000 (through HTTP requests).

Re: Show HN: Quick tunnels to localhost with one command and no binary download

#23
post #22

Very clever! This is the most hacky and elegant solution to this problem I've seen.

Delighted to know you liked it! We are working on bringing more features and we are convinced that everything must work through this ssh tunnel.

Re: Show HN: Quick tunnels to localhost with one command and no binary download

#24
post #22

Very clever! This is the most hacky and elegant solution to this problem I've seen.

Delighted to know you liked it! We are working on bringing more features and we are convinced that everything must work through this ssh tunnel.

Add a mode to share a file, again using SSH alone. Works together with "python3 -m http.server", obviously, but should be possible with SSH alone. This would be the first time since the invention of NATs one can share a file over the internet without uploading it anywhere or downloading any executable!

Re: Show HN: Quick tunnels to localhost with one command and no binary download

#25
post #24

Earlier quoted context omitted.

Delighted to know you liked it! We are working on bringing more features and we are convinced that everything must work through this ssh tunnel.

Add a mode to share a file, again using SSH alone. Works together with "python3 -m http.server", obviously, but should be possible with SSH alone. This would be the first time since the invention of NATs one can share a file over the internet without uploading it anywhere or downloading any executable!

We have to think and work through the limitations of SSH. We will cover whatever is possible. Thank you for the pointer!!

Re: Show HN: Quick tunnels to localhost with one command and no binary download

#26
Very cool. I switched to cloudflare tunnels from ngrok a while back after having some issues with ngrok.

However, CF Tunnels were far from ergonomic or easy to use ( https://www.maxcantor.com/blog/2021-10-15-ngrok-to-cloudflar... ).

I'd love a simple tool that fills the gap and I think this is it.

Re: Show HN: Quick tunnels to localhost with one command and no binary download

#27
post #26

Very cool. I switched to cloudflare tunnels from ngrok a while back after having some issues with ngrok. However, CF Tunnels were far from ergonomic or easy to use ( https://www.maxcantor.com/blog/2021-10-15-ngrok-to-cloudflar... ). I'd love a simple tool that fills the gap and I think this is it.

Thank you for the encouragement. Indeed we want to keep the user experience as simple as possible. This is just the alpha version, keep in touch for more updates.

Re: Show HN: Quick tunnels to localhost with one command and no binary download

#30
post #28

What is the value add over just running your own SSH server at a persistent domain? The TUI? Unlimited bandwidth? Cost?

This is not a SSH server. Yes, you can run your own SSH server at a persistent domain. But if you could run a SSH server with a persistent domain then you would not use Ngrok also right?

The value is in getting public URLs for sharing your localhost instantly without any infrastructure or software setup.

Post reply on HN