Last active
July 23, 2021 02:29
Revisions
-
yusufsyaifudin renamed this gist
Jul 23, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
yusufsyaifudin created this gist
Jul 23, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # Useful script ## Tunnel Private Network to Local using SSH Tunneling ```bash 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