课程: Learning SFTP
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Exploring SCP and SSHFS
- [Instructor] Before we move on to focus on SFTP, I want to mention two other methods that we can use with SSH for copying files between systems securely. These are SCP and SSHFS. SCP, which stands for Secure Copy, allows us to write a command-line command that will copy a file from one system to another using SSH. Generally speaking, SCP is best used when we're working at the command-line or when we need to include a file copy operation via SSH in a script of some kind. That's because SCP works in much the same way we would use to copy a file locally from one location to another on the same system. SFTP, as we'll see in a little bit, works differently, but also transfers files in a secure way. This is what an SCP command looks like. If we're working in a terminal or writing a script and we wanted to copy the file myfile.zip from the current working directory on our local system to the document's directory in our home directory…