rsync -e ssh does not work well

Kauko Heikkila Kauko.Heikkila at
Thu Oct 24 18:51:20 EST 2002

Hi all,

I want to use ssh to protect my
traffic, no rsh or direct rsync.
But I have  a problem here.

Of the texts already written, I could not yet
recall. Mostly they tell about success in using ssh

I have made some progress by reading them, but
I cannot solve the current problem, if not possibly turning
port forwarding, that is also new to me, actually.

I have made two kind of attempts, of which there is
an example below. I think I only need these two kinds
of rsync operations:

1.connection Linux to Linux and
2.connection from W2000 to Linux.
More accurately, I try
1.From SuSe Linux Enterpise server to another one:
rsync -trvuz  -e ssh  file.wrk uname at servername:uname-html
works wierdly since file.wrk changes
to a file named uname-html in the user's "uname" home.

This would not happen without ssh.

2.With a windows 2000 laptop to the SuSe server:

rsync -trvuz -e ssh file.wrk uname at servername:uname-html
unexpected EOF in read_timeout
unexpected EOF in read_timeout

Rsync works well without "-e ssh" and/or using double '::'.

rsync version in laptop is 2.4.5 and in SuSe it is 2.4.6
the ssh in SuSe is
OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL... etc
and in laptop
Openssh 3.4p1, with protocols 1.5/2.0 , OpenSSL... etc

I use RSA authentication that seems to work fine, since
sshd log reports successes in both cases.

I cannot see what is wrong.  I have much of Perl script
using rsync for file transfers, not written by me, that in
work fine, but would like to change all to go  through ssh.

I understand there is the port forwarding, that I should
also try......

The config file for my dummy attempts is below:
(I only took off allowed machine list here).

gid = guname
read only = true
use chroot = true
transfer logging = true
log format = %h %o %f %l %b %u
log file = /var/log/rsyncd.log
# hosts allow = allowed machine list here
read only = false
uid = uname

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Kauko Heikkila.vcf
Type: text/x-vcard
Size: 414 bytes
Desc: not available
Url :

More information about the rsync mailing list