Skip to content

Instantly share code, notes, and snippets.

@henno
Last active November 27, 2016 12:49
Show Gist options
  • Save henno/67cfeff024042c4db8723983347b8051 to your computer and use it in GitHub Desktop.
Save henno/67cfeff024042c4db8723983347b8051 to your computer and use it in GitHub Desktop.
Forward remote web server port 9000 to localhost using SSH for debugging code running on remote server
#!/bin/sh
# Execute this on your local development machine
ssh -R 9000:localhost:9000 [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment