Question

Secure CouchDB Replication Using SSH on a VPS

Posted January 18, 2020 131 views
ClusteringDatabases

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.

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.

×
1 answer

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.

Submit an Answer