Skip to content

Instantly share code, notes, and snippets.

@Jeket
Last active October 13, 2020 23:12
Show Gist options
  • Save Jeket/478b8d2b1c1ff267f92f3ff204303550 to your computer and use it in GitHub Desktop.
Save Jeket/478b8d2b1c1ff267f92f3ff204303550 to your computer and use it in GitHub Desktop.
SSH tunelling

SSH tunelling

Syntax

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