Skip to content

Instantly share code, notes, and snippets.

@arielallon
Last active December 30, 2015 09:28
Show Gist options
  • Select an option

  • Save arielallon/7809096 to your computer and use it in GitHub Desktop.

Select an option

Save arielallon/7809096 to your computer and use it in GitHub Desktop.
ssh tunnel
ssh -f -N -L 8080:localhost:80 username@remotehost
# <local port>:localhost:<remote port>
# remove by killing the process. use `ps aux | grep ssh` to find it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment