Skip to content

Instantly share code, notes, and snippets.

@clifferson
Forked from ngpestelos/Futon SSH Tunnel
Created October 22, 2011 00:20
Show Gist options
  • Save clifferson/1305326 to your computer and use it in GitHub Desktop.
Save clifferson/1305326 to your computer and use it in GitHub Desktop.
Access Futon/Couch via ssh tunnel
Problem: You want to access Futon on a remote server but do not want port 5984 to listen for outside connections.
Solution: Tunnel through a local port using SSH. [1]
Example:
ssh -L5984:127.0.0.1:5984 ssh.example.com
Access:
http://localhost:5984/_utils/
[1] http://wiki.apache.org/couchdb/Frequently_asked_questions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment