Skip to content

Instantly share code, notes, and snippets.

@mcotton
Created May 7, 2012 22:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcotton/2631131 to your computer and use it in GitHub Desktop.
Save mcotton/2631131 to your computer and use it in GitHub Desktop.
Forward ssh ports for couchdb

This is handy for seeing the couchdb futon interface without making it publicly available. It still will only accept connections from localhost.

Syntax:
ssh -L <local port>:porxy:<remote port> <user>@<remote host>

Example for CouchDB:
ssh -L 5984:localhost:5984 ubuntu@10.0.99.115
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment