Last active
August 11, 2021 09:47
-
-
Save dahoba/97f869dc64af8495eb75fc3d24f8db7e to your computer and use it in GitHub Desktop.
Port forward commands
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 characters
**Note** the jump-server should config to use ssh passwordless | |
Connect to internal oracle db via jump-server | |
``` | |
ssh -v -N -L 1521:internal-oracle-db:1521 jump-server | |
``` | |
``` | |
ssh -v -N -L 15432:localhost:5432 postgres-server | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment