Skip to content

Instantly share code, notes, and snippets.

@BenSlabbert
Created January 3, 2019 12:43
Show Gist options
  • Save BenSlabbert/0f3c6c4cf6ada369e7fe8cbf243a4970 to your computer and use it in GitHub Desktop.
Save BenSlabbert/0f3c6c4cf6ada369e7fe8cbf243a4970 to your computer and use it in GitHub Desktop.
Bash command to port forward RDS instances
ssh -i ${key.pem} -L ${port.on.my.machine}:${rds.instance}:3306 ec2-user@${ec2.ip.address}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment