Simple File Sync
- Have atleast 3 systems that can communicate with each other via SSH.
- One of them is going to be the Control Server and the remaining two clients
- Open the port 2122 in all the Systems
- Record the SSH username and password for the client systems.
- Copy the Server folder to one of the systems which will serve as Control Server. Edit the Hosts file with the ip of the client systems and their usernames and passwords. (Example- HOST_IP:USERNAME:PASSWORD)
- Run the Server.py in the Control Server.
- Copy the Client{1} folder in all of the clients. {1} can be any number
- Run Server.py and Client.py from the Client folder in the system on the system you are currently making changes on.
- Run ONLY Server.py from the Client folder in the systems that are not making any changes.
Note: You will need to change the IP Addresses in the init part of Server and Client files. All install missing libraries according to the command given as comment in the code. For generating new key and certificate, command is given in the README of the Server directory.