Skip to content

Instantly share code, notes, and snippets.

@obja
Created July 9, 2018 16:57
Show Gist options
  • Save obja/684eaa6650c7f235d7821a3c89dfb42b to your computer and use it in GitHub Desktop.
Save obja/684eaa6650c7f235d7821a3c89dfb42b to your computer and use it in GitHub Desktop.
db tunnel connect pattern
ssh -N -L 8888:db_hostname:3306 ec2-user@jumphost_public_ip -i ec2_ssh_key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment