Unison Sync Windows <-> Linux server

Description

This program will allow two-way synchronizations between a linux server and a Windows machine (i.e. laptop). The instructions are somewhat complicated since running unison on Windows has some dependencies. The package here contains all dependencies required in one directory.

Instructions

The following instructions are from the readme.txt file contained within the packaged directory available below:
Unison Custom Package for Windows
22 August 2011

BACKGROUND
==========
The files in this directory are used for Unison synchronizations.

The unison command looks for a ".unison" directory in the Windows 
"Documents and Settings" directory for the user running the command.
If found, any ".prf" files will be read and used to automate syncs.

Unison also relies on an SSH binary, included within the local folder.
Running ssh once from a DOS window will set up a .ssh directory for the 
user, in which SSH keys can be placed for automatic logins upon sync.

The ssh binary for Windows is also available as an installable package at: 
http://sshwindows.sourceforge.net/download/

There is an older commercial ssh client that is better integrated into windows:
ftp://ftp.net.ohio-state.edu/pub/security/ssh/ftp.ssh.com/pub/ssh/


INSTALLATION INSTRUCTIONS
=========================
1. Download and open the file Unison_Files_for_Windows.zip
2. Copy the directory "local" to C:\
3. Copy the directory "example_profiles\.unison" into 
   C:\Documents and Settings\[username]\
4. Edit "default.prf" in the .unison directory above, filling
   in username, hostname, and path details
5. Copy the shortcut "Unison Sync" to the desktop.
6. SSH into the linux server to which you will sync from a command prompt:
   cd c:\local\bin
   ssh [username]@[hostname]
7. If SSH asks about generating a key, select yes
8. Copy "id_rsa" and "id_rsa.pub" from the .ssh directory on the linux
   server into the directory   C:\Documents and Settings\[username]\.ssh\
   [If you don't see these files, type "ssh-keygen -t rsa"]
9. Type the following from within your home .ssh directory:
   cat id_rsa.pub >> authorized_keys

Downloads

Topic attachments
I Attachment Action Size Date Who Comment
zipzip Unison_Files_for_Windows.zip manage 6609.9 K 22 Aug 2011 - 18:18 RyanEgeland Unison package for windows with customizations
Topic revision: r8 - 22 Aug 2011 - 19:21:36 - RyanEgeland
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.