How it works...
To copy files remotely over SSH, we use the scp tool. This helps copy a single file or a complete directory from the client system to a defined location on the server system. To copy a directory with all its content, we use the -r option with the command.
We use the same tool to copy files from the remote SSH server to the client machine. However, to do this we need to know the exact location of the file on the server.
Like scp, we also have the sftp tool, which is used to copy files over ftp from server to client. Secure File Transfer Protocol (SFTP) is better than FTP and ensures that data is transferred securely.
Lastly, we use the GNOME File Explorer to graphically connect and transfer files from server to client and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access