I believe you vpser in the use of VPS will often in different VPS between the backup data or transfer data, most of the time the VPS has installed Nginx or similar Web server, the files will be transferred directly to the Web server folder. Then run
Scp implements file transfer between Mac and Linux servers
1. upload files to Linux server on mac
Scp file name username @ Server ip: target pathFor example: scp/Users/test/testFile test@www.bkjia.com:/test/
2. Upload the folder to the Linux
Reason: The company is based on the key login, although there are firewalls and other devices, and does not allow root direct login and do not allow password login. Because the company's network is not good, there is a need to copy one time 2
If the data file is larger, rely solely on the compression, transfer and other processes are also feasible, in fact, we can use the SCP command to drag between servers, this is our Linux servers in the Web site data file Drag transfer, and do not
Using the SCP command under LinuxThe SCP is the abbreviation for secure copy Protocol, as well as the copy (CP) commands known to many Linux/unix users. SCP is used in a manner similar to the CP command, where a CP command copies a file or folder
I. On the SCP SCP is the abbreviation for the English secure copy program , which is used primarily to copy files over the network between two hosts. SCP uses ssh protocol for data transfer, and its authentication method and security are
In recent times, the SCP has often been used to convey something, and it is not good enough to know what to do with this command.The SCP command is similar to the CP command, except that the CP command is used on the same machine, and the SCP is a
For example: scp/users/kizaki/desktop/xx.mp4 [email protected]:/usr/fhome/videoThere are 3 common ways to copy files between different Linux:The first is FTP, which is one of the Linux installation FTP Server, so you can use an FTP client program to
1. Run the ssh-keygen-t rsa command on server.
2. Three carriage returns
3. In the user's directory ~ /. Ssh/generate two files: id_rsa, id_rsa.pub
4. Copy the corresponding file under server a to server B and rename it authorized_keys.
Scp/
In the past has been on the server tar packaging compression, download to the local computer, and then upload to another server, and then unzip.In fact, you can use the SCP command directly to copy files or folders.The SCP is secure copy, which is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.