Skip to content

Instantly share code, notes, and snippets.

@ityuhui
Created September 1, 2022 04:03
Show Gist options
  • Save ityuhui/3173588fd32b7ab7bc6723800c2626f7 to your computer and use it in GitHub Desktop.
Save ityuhui/3173588fd32b7ab7bc6723800c2626f7 to your computer and use it in GitHub Desktop.
Create proxy commands
ssh -L 0.0.0.0:7875:0.0.0.0:7875 root@remote-hostname -Nf
tcptunnel --local-port=12001 --remote-port=12001 --remote-host=remote-hostname --stay-alive &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment