setting up rsync :)

First of all, yes i used search didnt help me much there setting up rsync :)

What i want to do in the end:

copy /backup/cpbackup/daily to a remote server in the same directory. I have used google alot and used search here but still i didnt succeed.

I found this nice tutorial here:

http://servers.linux.com/article.pl?...d=47&pagenum=1

It really works well and its easy...i come to the part where i can ssh ro the remote host without password entering...but when i do the test below it:

rsync -avz -e "ssh -i ~/rsync-key" /some/small/directory/ remote_user@remotehost.com:/backup/destination/directory/

It asks me for a password again..

when i just do ssh remote_user@remotehost.com i get in without a password...

I did everything according to the above (yes i even changed remote_user to the correct user and remote host the remote host... setting up rsync :))....still it doesnt work..keeps asking for a password.

Does anyone know to get passed this? I am quite clueless here, and dont know really what to do..never used rsync personally before setting up rsync :)

Thank you in advance,

haris.

 

 

 

 

Top