Synchronize network directories with Linux
Today I'll write about how to have a network synchronized folder using SSHFS. SSHFS is a filesystem that is mounted as a client of a remote folder. It uses the SFTP protocol. With SSHFS if you make a change in a file it will be reflected immediately in the other computer. If we edit a file in the client that has mounted the remote folder, the change will be reflected in the remote computer and the same if we do it the other way. You only need to install SSHFS in the client, you don't need it in the server, the only service you need at the server is the SSH service installed and running. Installation For Fedora and similars: yum install sshfs For Ubuntu and similars: apt-get install sshfs Configuration The first thing we have to do is choose the folder we want to synchronize, so the computer where that folder is would be the server. In the example I'll use the directory /home/rukia/foo in which the owner and group is rukia. In the client we...