Transfer files to the server in Linux
Scp secure file copy (ssh-based login)
1. If you want to transfer the local/home‑based file linux.tar.gz to the remote server 10.108.125.30, and save the account name of the remote server to the/home/test directory, perform the following operations:
Scp/home/linux.tar.gz name@10.108.125.30/home/test
You will be prompted to enter the server password and the correct password (Note: The Server File directory must have the read/write permission; otherwise, you must modify the permission)
2. If you want to copy files on the server to the local host directory, perform the following operations:
Scp name@10.108.125.30:/home/linux.tar.gz (name on your host)
3. copy the files in the entire directory of the remote server.
Scp-r name@10.108.125.30:/home /*./
Cp/scp command + scp command in Linux
CentOS cannot use scp command Solution
Copy files between two Linux Hosts using scp
Press scp transmission speed
Accelerate scp Transmission
Shell implements scp for batch file delivery
Ten SCP transmission command examples
This article permanently updates the link address: