Skip to content

Instantly share code, notes, and snippets.

@dahoba
Last active August 11, 2021 09:47
Show Gist options
  • Save dahoba/97f869dc64af8495eb75fc3d24f8db7e to your computer and use it in GitHub Desktop.
Save dahoba/97f869dc64af8495eb75fc3d24f8db7e to your computer and use it in GitHub Desktop.
Port forward commands
**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