linux + automated rsync command
Posted
by
Diana
on Server Fault
See other posts from Server Fault
or by Diana
Published on 2011-11-13T14:54:26Z
Indexed on
2011/11/13
17:54 UTC
Read the original article
Hit count: 251
linux
my target is to copy /tmp/my_file from 10.10.10.1 to my Linux machine without login and password , I set the passwords file with the right password - secret123 so rsync should work , please advice why I get Permission denied.
Remark - 10.10.10.1 address is linux machine version – red hat 5.3
rsync -WavH --password-file=/tmp/passwords --progress [email protected]:/tmp/my_file .
Permission denied.
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
more /tmp/passwords
secret123
ls -ltr passwords
-rwxr-xr-x 1 root root 10 Sep 12 17:32 passwords
© Server Fault or respective owner