There are three common methods to copy files between different Linux systems. The first method is ftp, that is, installing the ftp Server on one of the Linux systems, in this way, another ftp client program can be used to copy files. The second method is to use the samba service, similar to the Windows file copy method, which is simple and convenient. The third method is to use the scp command to copy files.
Scp is a file copy with Security and is used for ssh logon. For example, to copy the current file to another remote host, you can run the following command.
Scp/home/daisy/full.tar.gz root@172.19.2.75:/home/root
Then, you will be prompted to enter the logon password of the root user of the other 172.19.2.75 host, and copy the password.
If you want to copy files from the remote host to the current system, it is also very easy.
Root@172.19.2.75 scp:/home/root/home/daisy/full.tar.gz