Question

Secure CouchDB Replication Using SSH on a VPS

I was reading this post in digitalocean titled How To Secure MySQL Replication Using SSH on a VPS about “Using SSH tunneling MySQL replication data can be transferred through the SSH connection”.

And was wondering if is a bad idea to do the same with CouchDB. Would that even work? Does it have to be a bidirectional ssh tunnel because CouchDB has multi-master sync ? Are there any security issues ? I’m not considering a private network because droplets would be in different regions. Maybe the right approach is to build a VPN, but I would still like know your opinions about the ssh tunnel.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Maybe this is unnecessary thanks to DO cloud firewall which would allow to limit incoming connections to the ip of the other droplets. Plus using https.