Skip to content

Instantly share code, notes, and snippets.

@snimavat
Last active January 8, 2021 09:46
Show Gist options
  • Save snimavat/83937c87ec8df58ffc3b25a3b14bad38 to your computer and use it in GitHub Desktop.
Save snimavat/83937c87ec8df58ffc3b25a3b14bad38 to your computer and use it in GitHub Desktop.
ssh #Linux #ssh

Local port forward


ssh -N -L localhost:9000:destination:8080 user@host

Dynamic port forwarding


ssh -D 8123 -f -C -q -N via_host

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