
#SPECIFY DESTINATION ADDRESS SSH TUNNEL PUTTY HOW TO#
If you don't have one, the labs provide an example how to generate it. Here is how you can get one in no time 👉 /playgrounds/docker.Įvery example requires a valid passphrase-less key pair on the host that is then mounted into the containers to simplify access management. Pro Tip: As usual, my recommendation is to use ephemeral servers to run examples from this blog. Should it be a Local or a Remote tunnel? What are the flags? Is it a local_port:remote_port or the other way around? So, I decided to finally wrap my head around it, and it resulted in a series of labs and a visual cheat sheet 🙈 Expose any local server from a home/private network to the outside world.īut despite the fact that I use SSH Tunnels daily, it always takes me a while to figure out the right command.Open a port from the localhost of a development VM in the host's browser.Access internal VPC endpoints through a public-facing EC2 instance.With nothing but standard tools and often using just a single command, you can achieve the following: One of my favorite parts of this technology is SSH Tunnels. It may very well be that learning a couple of SSH tricks is more profitable in the long run than mastering a dozen Cloud Native tools destined to become deprecated next quarter.

SSH is yet another example of an ancient technology that is still in wide use today. TL DR SSH Port Forwarding as a printable cheat sheet.
