<p>I need to keep the files &amp; folders on two Windows-based, non-domain machines synchronized across a public network.  </p>

<p>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?  </p>

<p>Or I'm open to better ideas?</p>

[{'answer_id': 25563, 'author': 'Steve M', 'author_id': 1693, 'author_profile': 'https://Stackoverflow.com/users/1693', 'pm_score': 2, 'selected': False, 'text': '<p>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!</p>\n\n<p>If you want some integration with your versioning systems, check out <a href="http://www.cis.upenn.edu/~bcpierce/unison/" rel="nofollow noreferrer">Unison</a>.</p>\n\n<p>There are also commercial alternatives such as <a href="http://www.sitedesigner.com/instantsync.htm" rel="nofollow noreferrer">InstantSync</a>. </p>\n'}, {'answer_id': 25564, 'author': 'Chris Upchurch', 'author_id': 2600, 'author_profile': 'https://Stackoverflow.com/users/2600', 'pm_score': 1, 'selected': False, 'text': '<p>Seems like a textbook case for using <a href="https://www.foldershare.com/welcome.aspx" rel="nofollow noreferrer">FolderShare</a>.</p>\n'}, {'answer_id': 25627, 'author': 'Bob Somers', 'author_id': 1384, 'author_profile': 'https://Stackoverflow.com/users/1384', 'pm_score': 0, 'selected': False, 'text': '<p>You could set up shared folders over a secure VPN with <a href="http://www.hamachi.cc" rel="nofollow noreferrer">Hamachi</a>, then use a folder syncing app to sync them up.</p>\n'}, {'answer_id': 25628, 'author': 'abyx', 'author_id': 573, 'author_profile': 'https://Stackoverflow.com/users/573', 'pm_score': 0, 'selected': False, 'text': '<p>Have you tried the award-winning <a href="http://sourceforge.net/projects/rsyncrypto" rel="nofollow noreferrer">rsyncrypto</a>?</p>\n'}, {'answer_id': 25694, 'author': 'BCS', 'author_id': 1343, 'author_profile': 'https://Stackoverflow.com/users/1343', 'pm_score': 0, 'selected': False, 'text': "<p>I use SVN. It works (I think) over SSH and SSL.</p>\n\n<p>Full versioning, file syncing, what's not to like?</p>\n"}, {'answer_id': 25727, 'author': 'gavrie', 'author_id': 2794, 'author_profile': 'https://Stackoverflow.com/users/2794', 'pm_score': 0, 'selected': False, 'text': '<p>I\'d recommend <a href="http://www.nongnu.org/rdiff-backup/" rel="nofollow noreferrer">rdiff-backup</a>. It supports incremental backups over SSH and is a free and proven solution. Being incremental, it also allows access to files that were deleted or to older versions of modified files.</p>\n'}, {'answer_id': 25728, 'author': 'Brad Wilson', 'author_id': 1554, 'author_profile': 'https://Stackoverflow.com/users/1554', 'pm_score': 0, 'selected': False, 'text': "<p>+1 for Chris's recommendation. This is exactly what I use FolderShare for, keeps folders in sync across 3 PCs running Windows and 2 Macs running OS X.</p>\n"}, {'answer_id': 55252, 'author': 'cpuguru', 'author_id': 2312, 'author_profile': 'https://Stackoverflow.com/users/2312', 'pm_score': 3, 'selected': True, 'text': '<p>Figured I\'d post what I finally went with - WinSCP - <a href="http://winscp.net" rel="nofollow noreferrer">http://winscp.net</a></p>\n\n<p>Connects via GUI to an SFTP server + supports Local/Remote/Both synchronization + scriptable with command-line/batch interface.</p>\n'}, {'answer_id': 585488, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>you can use a <a href="http://world-secure-channel.com/why/" rel="nofollow noreferrer">vpn</a> server on hamachi</p>\n'}, {'answer_id': 3859410, 'author': 'muffytyrone', 'author_id': 284001, 'author_profile': 'https://Stackoverflow.com/users/284001', 'pm_score': 0, 'selected': False, 'text': '<p>try this, SSHSync for windows</p>\n\n<p><a href="http://code.google.com/p/sshsync/" rel="nofollow">http://code.google.com/p/sshsync/</a></p>\n\n<p>A command line applications that allows intelligent Secure FTP transmissions. SshSync only support pull type transfers, but it allows use of a Private Key to ensure that authentication is secure. A text file that contains a list of files always processed is used to check that only \'new\' files are retrieved.</p>\n'}, {'answer_id': 34020946, 'author': 'André', 'author_id': 3770693, 'author_profile': 'https://Stackoverflow.com/users/3770693', 'pm_score': 1, 'selected': False, 'text': '<p>This answer is similar to the one the thread opener created but i cant comment so i add this here:</p>\n\n<p>I had the same problem one year ago at a customer. We needed a scriptable non gui solution for synchronizing a large folder with several subfolders over the internet!</p>\n\n<p>At that time the system used rsync but i didnt like the necessity of having to install a linux tool and needing a vpn between the two to secure the communication.</p>\n\n<p>So the first approach was scripting with Powershell and using WinSCP and IIS ftps (ftp over ssl). \n<strong>WinSCP and IIS ftps didnt work well together!</strong>\nSynchronizing often lead to strange exceptions we couldnt fix. Then we switched to CrushFTP and sftp (ssh ftp).</p>\n\n<p>This solution works very well! We had over 300 automatic nightly deployments and none failed.\nSo i can recommend using powershell for scripting and the WinSCP library for synchronizing folders to an sftp (not ftps) server. Though it is definitely not as fast as rsync it is very stable and easily scriptable.</p>\n'}]
['https://Stackoverflow.com/questions/25546', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2312/']