rsync without password

Luca Ferrari fluca1978 at
Thu Oct 1 13:25:36 UTC 2009

You should configure first ssh to use the agent in order to connect without 
having the user to insert a password, then rsync will work seamlessly.
You have to produce an rsa or dsa key pair and place the pub key to the target 
host and append it to he $HOME/.ssh/authorized_keys. Then try to ssh the 
target host and see if it prompts for a password.
Also use the -vvv flag while ssh-ing the target host to see what is going 

Hope this helps.

On Thursday 01 October 2009 03:08:01 pm Vladimir's cat walking on the keyboard 
> Hi,
> I'm getting a bit annoying researching for a way to synchronize my home few
> boxes using rsync.
> I was trying to use /etc/rcync.conf and rcync.secrets on a destination
>  host. I also was trying to generate on source host and transfer
>  it to the destination.
> I simply was trying to use RSYNC_PASSWORD environment variable on both
>  source and destination and absolutelly no luck to exchange files without
>  prompting for a password.
> Any help would be greately appreciated.
> Vladimir

More information about the kubuntu-users mailing list