![unison synchronize unison synchronize](https://ostechnix.com/wp-content/uploads/2020/10/Synchronize-files-with-unison-gtk-1024x518.png)
I would highly recommend setting up SSH key authorization for this. To sync across a network, Unison makes use of SSH.
#UNISON SYNCHRONIZE HOW TO#
After that, I’ll show you how to make it a bit easier by doing so with a profile. I’ll first demonstrate how to sync those two files manually. Make sure to run the above command on both Linux machines and you’re ready to continue. You do have to install this software on both instances of Linux. The installation of Unison is quite simple. You’ll also need a user with sudo privileges (for the installation only). The only difference in the installation is that, for CentOS, you’ll have to enable the epel-release repository. This tool can also be installed on most every Linux distribution. As I mentioned, I’ll be demonstrating with Ubuntu Server. In order to work with Unison, you’ll need two instances of Linux. SEE: Best Linux server distributions of 2020 (free PDF) (TechRepublic) What you’ll need I’ll be illustrating the command line version of Unison on two instances of Ubuntu Server. It’s incredibly simple to use and even has a GUI that can also be installed, for those who prefer graphical tools over the command line.
![unison synchronize unison synchronize](https://ostechnix.com/wp-content/uploads/2020/10/Synchronize-Files-With-Unison-On-Linux-1170x780.png)
I want to show you how to use this tool and SSH to sync a directory on one Linux server to another. Unison is capable of synching directories on a local system or across a network. Unison is used to store two replicas that are modified separately and brought up-to-date by propagating changes to each store. That option is Unison, a free, open source, cross-platform bi-directional file sync tool. There is, of course, another option–one you’ve likely never heard of.
![unison synchronize unison synchronize](https://ostechnix.com/wp-content/uploads/2020/10/Synchronize-files-with-unison-gtk-300x152.png)
For many, rsync and scp are the de facto standard. With Linux there are so many ways to synchronize and/or backup files over a network. Jack Wallen shows you how to sync files across a network on Linux with a simple command line tool. How to use Unison to sync files on Linux machines across a network