Skip to content

Instantly share code, notes, and snippets.

@vitorleal
Created November 8, 2016 13:32
Show Gist options
  • Save vitorleal/5141306efbc3b4cf1c93055283c42c3b to your computer and use it in GitHub Desktop.
Save vitorleal/5141306efbc3b4cf1c93055283c42c3b to your computer and use it in GitHub Desktop.
SSH Tunnel
ssh -f {USERNAME}@{IP.OF.THE.MACHINE.TO.TUNNEL} -L {MAPPED_PORT}:{AWS.DB.ADDRESS}:{DB_PORT} -N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment