Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Securely sync folders over a public network

I need to keep the files & folders on two Windows-based, non-domain machines synchronized across a public network.

I was thinking rsync over SSH - but I was wondering if there is a simpler solution? Any possibility of using the sync framework over SFTP/SCP/SSH?

Or I'm open to better ideas?

like image 974
cpuguru Avatar asked Aug 25 '08 01:08

cpuguru


People also ask

What do you use Syncthing for?

Syncthing is an application that lets you synchronize your files across multiple devices. This means the creation, modification or deletion of files on one machine will automatically be replicated to your other devices. We believe your data is your data alone and you deserve to choose where it is stored.

Is Syncthing self hosted?

Syncthing is a P2P (peer to peer) network that allows you to keep your files synchronised. Syncthing aims to replace services such as: Dropbox, Google Drive and OneDrive. By putting the user in control of their own data. Syncthing enables the user to set up multiple 'nodes' which can communicate with eachother.


2 Answers

I don't think you could go past rsync. It's fast, reliable and when coupled with SSH (which is a requirement of yours), secure. It's also Free!

If you want some integration with your versioning systems, check out Unison.

There are also commercial alternatives such as InstantSync.

like image 66
Steve M Avatar answered Nov 29 '22 16:11

Steve M


Figured I'd post what I finally went with - WinSCP - http://winscp.net

Connects via GUI to an SFTP server + supports Local/Remote/Both synchronization + scriptable with command-line/batch interface.

like image 22
cpuguru Avatar answered Nov 29 '22 16:11

cpuguru