Overview
This document guides you on how to upload files to a Linux Cloud Virtual Machine from a Linux operating system computer using SCP.
Directions
On the Linux computer, execute the following command to upload files to the Linux Cloud Virtual Machine.
scp <local-file-path> <cloud-server-username>@<cloud-server-public-IP/domain>:<cloud-server-file-path>For example, to upload a local file
/home/lnmp0.4.tar.gzto a corresponding directory under the CentOS system Cloud Virtual Machine with an IP address of129.20.0.2, execute the following command:scp /home/Inmp0.4.tar.gz root@129.20.0.2:/home/Inmp0.4.tar.gzPress Enter, and input the login password to complete the upload.