Skip to content

Instantly share code, notes, and snippets.

@bafxyz
Created July 31, 2016 08:07
Show Gist options
  • Save bafxyz/7d7a3c2f6c7ca15eba74d0d45f38fc44 to your computer and use it in GitHub Desktop.
Save bafxyz/7d7a3c2f6c7ca15eba74d0d45f38fc44 to your computer and use it in GitHub Desktop.
# To forward sshtalk.in:8080 -> Cart.local:4567, you can do:
local="Cart.local:4567" # or "localhost:4567"
remote="*.8080" # "*" for all interfaces (default = loopback only)
ssh -R ${remote}:${local} sshtalk.in
====================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment