Skip to content

Instantly share code, notes, and snippets.

@o-gh
Last active April 7, 2017 01:52
Show Gist options
  • Save o-gh/7558c8545c7f0719421a22aad7dd4da0 to your computer and use it in GitHub Desktop.
Save o-gh/7558c8545c7f0719421a22aad7dd4da0 to your computer and use it in GitHub Desktop.
SSH port forwarding

ssh [host] -l [login_name] -L [local port]:[remote host]:[remote port] -f -N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment