Skip to content

Instantly share code, notes, and snippets.

@mcotton
Created May 7, 2012 22:43
Show Gist options
  • 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 [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment