Running CouchDB Admin Console Remotely

CouchDB default configuration allows only localhost access to its admin console via Futon or curl.

Without compromising server security and access, you can use ssh to tunnel to your CouchDB.

Below is how to set up the tunnel.

First, make sure that your server /etc/ssh/sshd_config has “PermitTunnel yes”.

Second, in your local Ubuntu desktop, run the following command.

$ ssh -fNg -L 5984:127.0.0.1:5984 user@ip-address

Third, from your local desktop, launch a browser and navigate to http://127.0.0.1:5985/_utils

About rp8

Specialized in building sophisticated systems for trading & risks in commodity, exotics, commodity index & structured products. Specially interested in using open source stacks and cloud computing to build new generation of services and apps. Enjoy mountain biking & photography. github
This entry was posted in Ubuntu and tagged . Bookmark the permalink.