linux + automated rsync command
- by Diana
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