This article describes the steps for uploading files to the server under the Linux system. It is shared here for your reference.
scp is the abbreviation of secure copy. scp is a secure remote file copy command based on ssh login under Linux system.
Upload local files to the server
scp local path username@remote server ip:remote path
Download files
scp username@remote server ip:remote path Local path
-r is to upload and download the local directory to the remote
Remote file
Related tutorials:Linux video tutorial
The above is the detailed content of [Linux] Use the scp command to upload files to the server. For more information, please follow other related articles on the PHP Chinese website!