CHEUNG Chi Wai, Chris [EMAIL PROTECTED] wrote:
> I have add the ssh key to my .ssh/authorized_files.
>
> When I enter the command, the errors are as follow.
>
> [EMAIL PROTECTED] .ssh]# rsync mandrake82::XXXXX /rsynctest --recursive -e
> ssh
>From 'man rsync' - CONNECTING TO AN RSYNC SERVER OVER A
REMOTE SHELL PROGRAM:
In order to distinguish between the remote-shell user and the rsync
server user, you can use '-l user' on your remote-shell command:
rsync -av --rsh="ssh -l ssh-user" [EMAIL PROTECTED]::module[/path]
local-path
The "ssh-user" will be used at the ssh level; the "rsync-user" will be
used to check against the rsyncd.conf on the remote host.
HTH.
--
Hardy Merrill
Red Hat, Inc.
> buffer_get: trying to get more bytes 129 than in buffer 46
> rsync: connection unexpectedly closed (0 bytes read so far)
> sync error: error in rsync protocol data stream (code 12) at io.c(165)
>
> There is no errors when I do not use SSH
> Please help
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html