Skip to content

Instantly share code, notes, and snippets.

@daniel12fsp
Created November 19, 2019 12:16
Show Gist options
  • Save daniel12fsp/d0a6e494bdc393bbb426bc0e5889af70 to your computer and use it in GitHub Desktop.
Save daniel12fsp/d0a6e494bdc393bbb426bc0e5889af70 to your computer and use it in GitHub Desktop.
forward_ssh
#ssh -L{port on your PC}:localhost:{database's port} root@{server IP}
ssh -L3308:localhost:3306 [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment