Home>Article>Operation and Maintenance> [Linux] Use the scp command to upload files to the server

[Linux] Use the scp command to upload files to the server

little bottle
little bottle forward
2019-04-19 10:46:32 3239browse

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!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete