105k views
5 votes
How to scp folder from one server to another

User Shriike
by
7.0k points

1 Answer

4 votes

Final answer:

To SCP a folder from one server to another, you can use the scp command with appropriate options and details for the source and destination servers.

Step-by-step explanation:



To SCP (Secure Copy Protocol) a folder from one server to another, you can use the following command:



scp -r source_folder usernamedestination_ip:destination_directory



Replace source_folder with the path to the folder you want to copy, username with the username of the destination server, destination_ip with the IP address of the destination server, and destination_directory with the path to the directory on the destination server where you want to copy the folder.

User Alechko
by
7.7k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.