Scp Command For Multi-copy
Posted by Dan Moses on 17 August 2004 09:00 AM
When using Shell and trying to copy files :

scp -rpvB user1@www.example1.com:/home/user/ /home/user1 user2@www.example2.com:/home/user/procmail /home/user2

This requires that you have the authentication keys in your local account. If you remove the 'B' option, it will prompt you for each password in turn.

Also, remember to reset the permissions after the copy.
(1134 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).