SSH is yet another example of an ancient technology that is still in wide use today. 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.

One of my favorite parts of this technology is SSH Tunnels. With nothing but standard tools and often using just a single command, you can achieve the following:

  • Access internal VPC endpoints through a public-facing EC2 instance.
  • Open a port from the localhost of a development VM in the host’s browser.
  • Expose any local server from a home/private network to the outside world.

And more 😍

  • RandomChain
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    Thanks, bookmarking that. I always get -L and -R mixed up and have to look up examples, this one looks very handy.

    • donio@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Easy way to remember: with -L you are binding the port locally, with -R you are binding the port remotely.