Skip to content

Instantly share code, notes, and snippets.

@spnow
Forked from Jeket/ssh_tunneling.md
Created September 23, 2019 21:15
Show Gist options
  • Save spnow/c7a8f367492447e456f36b254d2af321 to your computer and use it in GitHub Desktop.
Save spnow/c7a8f367492447e456f36b254d2af321 to your computer and use it in GitHub Desktop.
ssh -L {LOCAL_PORT}:{HOST}:{REMOTE_PORT} {REMOTE_HOST}
Example
###ssh -L 3001:localhost:3001 username@host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment