Skip to content

Instantly share code, notes, and snippets.

@yusufsyaifudin
Last active July 23, 2021 02:29
Show Gist options
  • Save yusufsyaifudin/5e2e99d49e63a6af8c359d77adc50b40 to your computer and use it in GitHub Desktop.
Save yusufsyaifudin/5e2e99d49e63a6af8c359d77adc50b40 to your computer and use it in GitHub Desktop.
Useful scripts

Useful script

Tunnel Private Network to Local using SSH Tunneling

ssh -L localhost:port:remote_ip:remote_port username@<IP that have access to remote_ip>
  • Ensure that you can SSH ssh username@<IP that have access to remote_ip> (public key already added in the instance)
  • Ensure that your SSH instance can access remote target, it can be db, http or etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment