How to transfer file from one linux server to another?
Answers
Answered by
0
Answer:
Log in to your server with SSH as root.
Navigate to the directory where there are the files to be transferred, using cd command:
Type the following command (make sure you replace the IP address and the file name):
scp file.txt 10.10.10.10:/root/
In this example, 10.10.10.10 is the IP address of the destination server, and /root/ is the destination folder of file.txt.
You will be prompted to enter the root password of the remote server.
Similar questions