This has nothing to do with rsync. Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html On Fri, May 30, 2003 at 01:10:56PM +0200, Oliver Krehan wrote:> Hi there, > > I use rsync over ssh to syncronise various directories between a windows > machine and a linux box. > Now I want to sync files between two linux boxes. Because the I want to > do that as a cron job I need rsa key authentification. > I have a user called test on both machines. On both pc I also run > "ssh-keygen -t rsa1" and enter no passphrase. > I copied the identity.pub file from the source machine to the > destination pc and made "cat identity.pub >>.ssh/authorized_keys" > > Now I tried to "ssh dest-pc" and I asks me always for the password. If I > have the same user on a windows machine and copied his identity.pub > file to the dest-pc, everything works fine. > > So how can I get rid of this password-question ? > > Thanks for your help, > > Oliver > > -- > -- > Oliver Krehan > IT Security Assistent > > Actaris > Hardeckstrasse 2 > 76185 Karlsruhe, Germany > Tel: +49 721 5981 325 > Fax: +49 721 5981 189 > http://www.actaris.com > > > > > -- > To unsubscribe or change options: > http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html >-- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt
Hi there, I use rsync over ssh to syncronise various directories between a windows machine and a linux box. Now I want to sync files between two linux boxes. Because the I want to do that as a cron job I need rsa key authentification. I have a user called test on both machines. On both pc I also run "ssh-keygen -t rsa1" and enter no passphrase. I copied the identity.pub file from the source machine to the destination pc and made "cat identity.pub >>.ssh/authorized_keys" Now I tried to "ssh dest-pc" and I asks me always for the password. If I have the same user on a windows machine and copied his identity.pub file to the dest-pc, everything works fine. So how can I get rid of this password-question ? Thanks for your help, Oliver -- -- Oliver Krehan IT Security Assistent Actaris Hardeckstrasse 2 76185 Karlsruhe, Germany Tel: +49 721 5981 325 Fax: +49 721 5981 189 http://www.actaris.com
I have been trying desperately to get rsync to work over ssh with empty passwords. On Server A (which is running the rsync daemon) and Server B I have a user rsyncd that I have already setup with public key empty password authentication. I can ssh either way with no problem. But when I run the command ' rsync -av --rsh="ssh -l rsyncd" ServerA::www/home/dir /www/home/dir' from ServerB I get the following error: "Permission denied (publickey,password,keyboard-interactive). rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165)" I get this error if I run it as root or as the rsyncd user on ServerB. Any help would be much appreciated. Thanks ------------------------ David Nickel Network Specialist II Augusta State University ------------------------