Different Linux copy files commonly used in 3 ways, the first is FTP, which is one of the Linux installation FTP Server, so you can use the FTP client program to copy the file. The second approach is to use the Samba service, similar to the Windows file copy of the way to operate, more concise and convenient, the third is to use the SCP command for file replication.
The SCP is a security file copy, based on SSH login. Easy to operate, such as to the current one file copy to a remote other host, you can command the following.
Note:-RP can be recycled to copy directories
Linux Code
Scp/home/daisy/full.tar.gz Root@172.19.2.75:/home/root
You will then be prompted to enter the login password for the other 172.19.2.75 host's root user, and then copy it.
If you want to reverse the operation, it is also easy to copy the files from the remote host to the current system.
Linux Code
SCP root@172.19.2.75:/home/root/full.tar.gz/home/daisy/
#如果不是默认的22端口, use uppercase P for example
Scp-p 8382 upload.tar.gz Root@74.86.170.242:/home/root