Secure copy in Linux

Posted by Michael on Super User See other posts from Super User or by Michael
Published on 2011-03-09T12:47:32Z Indexed on 2011/03/09 16:12 UTC
Read the original article Hit count: 249

Filed under:
|
|

Hi all,

I wanna simpy exchange 3 directories to a collegue's home directory (I dont have write access to that one) from my home directory, probably using secure copy if possible. I am not good with Linux command line, so I am not sure how to do that and I would very much appreciate it if somebody could help me a bit out with this. I guess it should look something like that

scp -r /home/user1/directoy1 /home/user2/directoy1 
scp -r /home/user1/directoy2 /home/user2/directoy2 
scp -r /home/user1/directoy3 /home/user2/directoy3 

Do I need to specify the login name of my collegue so that the files can be copied when he enters his password?

Thanks for your help, Michael

© Super User or respective owner

Related posts about linux

Related posts about command-line