![]() ![]() Create a HOME variable that points to your (guess what) home directory on the local host. Īdd an SSHDIR environment variable that points to where SSH.EXE is located, and add it to the PATH variable. If the user account that you use to log on to the local host is different from the one on the remote host whose home directory contains the target directory, run unison a.tmp. If that works, cd to your home directory, and synchronize the local a.tmp sub-directory to you home directory on the remote host: unison a.tmp ssh://remotehostname/a.tmp. Next, let's check that both SSH and Unison are running on the remote host by running ssh remotehostname unison -version. Make changes to any of the files, and run unison a.tmp b.tmp again.Open a DOS box, and run unison a.tmp b.tmp.Cd to the directory where Unison is located, and create two sub-directories a.tmp and b.tmp.We'll first check that Unison works when trying to sync two directories located on a single host. Synchronize a local directory with unison a.tmp socket://remotehostname:NNNN/a.tmp Secure connection with SSH An important difference with SSH, is that in this mode, paths specified by the client host are interpreted relative to the directory where the Unison server is started on the remote host instead of the user's home directory. The remote host must be running Unison as a process with unison -socket NNNN, where NNNN is any available port number. UNISON SYNCHRONIZE WINDOWSLinux Setup Using Unison Installing OpenSSH Windows Setup Using Unison Clear-text connectionįor this mode, SSH is not needed. This also includes taking account the time zone parameter if the two hosts are not located in the same area. See Synchronizing hosts through NTP for more infos. ![]() Unison is an open-source alternative to Rsync.Īlthough Unison uses the local host's clock to check whether a file has been modified, and hence, is not affected if the local and remote hosts' clocks are not in sync, you might want to ensure that they are. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |