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

Technical requirements

For ...

Get Linux Command Line and Shell Scripting Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.