rsync without password
Luca Ferrari
fluca1978 at infinito.it
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
wrong.
Hope this helps.
Luca
On Thursday 01 October 2009 03:08:01 pm Vladimir's cat walking on the keyboard
wrote:
> 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 id_rsa.pub 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