Report this

What is the reason for this report?

Secure CouchDB Replication Using SSH on a VPS

Posted on January 18, 2020

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.



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!

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.