Chapter 7: Network-Based File Synchronization
Copying content over a network is usually done manually. For example, we just use SCP or FTP to transfer a file and that's that. But what happens if we need to make this process a permanent one? We then need to figure out a way to do file/directory synchronization, which is what rsync
is all about. That being said, with all of the security-related incidents in the past few years, it's always a good idea to implement some kind of encryption, so using SSH
and SCP
seems like a reasonable approach, and that's exactly what we are going to do.
In this chapter, we are going to cover the following topics:
- Learning how to use SSH and SCP
- Learning how to use
rsync
- Using
vsftpd