Secure copy in Linux
- by Michael
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