rsync gives errors

nicsopon

Verified User
Joined
Jul 4, 2006
Messages
101
I try to transfer 50 GB user data to a new server with rsync. I get this erros:

I'm at the new server ip.ip.ip.NEW and access this command as root:

[root@mailserver admin_backups]# rsync -ave '/etc/ssh -l shows -p xx' ip.ip.ip.OLD:/home/shows/domains/ /home/shows/domains/
OR
[root@mailserver admin_backups]# rsync -ave 'ssh -p xx' ip.ip.ip.OLD:/home/shows/domains/ /home/shows/domains/
WILL GIVE SAME ERROR
rsync: Failed to exec /etc/ssh: Permission denied (13)
rsync error: error in IPC code (code 14) at pipe.c(84) [receiver=3.0.6]
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in IPC code (code 14) at io.c(600) [receiver=3.0.6]

Both servers have rsync command by fresh installation. Any additional files I have to modify to enable this feaures?

Please help.

Thanks & Best Regards
 
The ssh line is only used when making use of ssh keys as far as I know.

You could try it like this:
Code:
rsync -ave [email protected]:/home/shows/domains/ /home/shows/domains/
You can enter your users ssh pass after you press enter.
 
Hi

Thanks for your advice.

I can solve the problem by installig openssh-clients with:

yum install openssh-clients

All servers don't have ssh client installed.

Thanks & Best Regards
 
Back
Top