Linux remote copy: SCP
SCP filename root-@remote IP :/ path /
Copy the file of test.tar from the local home directory to the /home/adm/ directory of the remote host 192.168.1.23. The command is: SCP /home/test.tar [email protected]:/home/adm/ enter the password
The SCP provides several options to simply add to the SCP
– When p copies a file, it keeps the time when the source file is created.
– Q does not display any prompt message when performing a file copy.
-R copies the entire directory at www.2cto.com
– When v copies a file, a prompt message is displayed.
p>
Linux SCP: /usr/tools: not a regular file failed to successfully transfer solution
1: could not permissions chmod 777
2: when using SCP plus – r parameter
SCP – r [email protected]:/usr/tools/XXXX
p>