Linux linux machine to copy from one file to another linux machine

1. Function

scp for the file / directory from one system to another linux linux system. Transport protocol SSH protocol, to ensure the security of transmitted data

The format is as follows:

(1) scp local linux file system path to the remote user name @IP Address: Remote File System path name
(2) scp remote user name @IP Address: remote linux file system absolute path to the local file system path

2 illustrates

(1) is currently in the '192.168.60.133' linux system, /home/date/etc.tar.gz you want to copy to the / tmp directory of IP "192.168.60.130" root user

/home/date/etc.tar.gz [email protected]:/tmp

Transfer Source: Gazi Small Wild Search

 

Guess you like

Origin www.cnblogs.com/balllyh/p/11221506.html