ftp/scp/rsync
Understanding how to copy files between machines is essential to being able to deploy and maintain modern web applications. If you have used ftp, but are not familiar with scp or rsync, you should follow the material below to understand how to use the command line to copy and synchronize files between machines using secure protocols.
Goals/Objectives/Outcomes
- Understand why protocols other than FTP exist for transferring files between machines
- Understand how to send local files to another machine using scp
- Understand how to copy remote files to your local machine
- Understand how to use rsync to copy and incrementally synchronize sets of files between machines and how to resume failed rsyncs
- Understand how to use rsync over ssh
Reference Material
- https://linuxacademy.com/blog/linux/ssh-and-scp-howto-tips-tricks/
- http://www.hypexr.org/linux_scp_help.php
- http://www.tecmint.com/scp-commands-examples/
- http://www.binarytides.com/linux-scp-command/
- https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps
- http://www.dedoimedo.com/computers/rsync-guide.html
- http://troy.jdmz.net/rsync/index.html
Measures of Success
Participant is comfortable copying files between their local machine and remote machines either pushing or pulling and understands how to use rsync to do incremental synchronization either way.