Last update at :2024-05-13,Edit by888u
If we need to transfer server files and the old server space is not enough to compress and package with compression software, we can directly execute the pull copy command on the new vps server. For example: old server IP: 20.20.20.20 to the old server Copy the www folder to the new server, we can execute:
scp -r 20.20.20.20:/www /home/wwwYou will then be asked whether to save the key. Enter yes and press Enter. You will then be asked to enter the root password of the server 20.20.20.20, and then the copy will begin!
Note: If the sentence "scp: command not found" is prompted during use, it means that scp is not installed on your server. Please use the following command to install it. Another thing to note is that when using scp, scp needs to be installed on both servers. If either side is not installed, it cannot be used normally: yum -y install openssh-clients
Recommended site searches: cm domain name registration, US domain name registration, ip138 website query, Hong Kong high-defense server rental, cloud server, best US server, registration number query, php host, domain name registration center, domain name query official website, < /p>
发表评论