Monday, 2 January 2017
Server to Server File Transfer using Secure Copy in Linux
We will be using scp command for transferring files from two remote computer
scp -r yourfoldername root@destination_ip:/home/
(after initiating this command, you will be prompt to enter the root password of the destination ip)
in this command you are transferring all content of "yourfoldername" recursively to destination_ip in home directory path.
if you want to transfer a non folder file you can use this command
scp filename.gz root@destination_ip:/home/
take note:
you can change /home/ to the path you want to place your source file.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment