Skip to content

Instantly share code, notes, and snippets.

@sunb0002
Created May 27, 2019 16:52
Show Gist options
  • Save sunb0002/36678b841de1bb2c8d490e92458119db to your computer and use it in GitHub Desktop.
Save sunb0002/36678b841de1bb2c8d490e92458119db to your computer and use it in GitHub Desktop.
ssh -F ssh/config -N -L 1622:db-server-host:1622 jump-host-ssh-alias
sqlplus "user/pwd@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=localhost)(Port=1622))(CONNECT_DATA=(SERVICE_NAME=THE_DB_SCHEMA)))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment