From the course: Learning CentOS Linux

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Transferring files to and from the server

Transferring files to and from the server

From the course: Learning CentOS Linux

Start my 1-month free trial

Transferring files to and from the server

- [Instructor] When we're working with a server, it's extremely common to need to get files onto it. Sometimes we'll accomplish this with source control software like git, or as we'll see in a little bit, we can download directly from a web server using wget. But it's also important to be able to transfer files to and from a local computer to the server. SSH gives us a way to connect to the server, and use a terminal interface, but once we're connected we can't easily transfer files through that connection, but luckily because we have SSH set up on the server, we have two options for transferring files that we get effectively for free. These are sftp and scp. We can use sftp or SSH File Transfer Protocol to transfer files back and forth just like we might with a Legacy FTP server. For administrators, sftp is usually used at the command line. Though you can use graphical clients like FileZilla to connect with sftp and drag files around and browse that way. So if you're connecting from…

Contents