Rsync Permission denied (13)
I am running this command:
Code:
rsync -avzhe ssh syncer@IP_ADRESS:/home/user1/public_html/Files/Tools /myfiles Quote:
How can I get user, "syncer" to work. I already gave syncer root access. |
Does /myfiles folder has the permission to be copied to this folder?
|
Quote:
I did a test with rsync, but this time the "test" folder was created by the root user. Code:
rsync -avzhe ssh syncer@IP_ADRESS:/test /myfiles |
Why do you not want to log in as user1?
Do you still have sshd configured to allow root to log in i.e. PermitRootLogin yes on your server? |
Quote:
I am using rsync with raspberry pi, so I don't have a sshd config option, only option is to enable/disable SSH. |
Given that syncer has root access why do think it would have better security then using user1 with keys?
/etc/ssh/sshd_config does not exist? |
Quote:
Looks like /etc/ssh/sshd_config did work. PermitRootLogin was already enabled. |
Well, better security would be to set not allow root login.
|
Quote:
|
Yes, in my humble opinion.
|
All times are GMT -5. The time now is 11:38 PM. |