Rsync over ssh

David Nickel dnickel at aug.edu
Tue Jun 17 00:14:48 EST 2003


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
------------------------





More information about the rsync mailing list