Skip to content

Instantly share code, notes, and snippets.

@aminusia
Created October 27, 2022 06:02
Show Gist options
  • Save aminusia/5ef2155b3beb71113b6e60c95f086c4e to your computer and use it in GitHub Desktop.
Save aminusia/5ef2155b3beb71113b6e60c95f086c4e to your computer and use it in GitHub Desktop.
SSH Port tunelling, expose remote machine port as local port
ssh -NL 3306:127.0.0.1:3306 [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment