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 protocol. I have made some progress by reading them, but I cannot solve the current problem, if not possibly turning to 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@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@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 files using rsync for file transfers, not written by me, that in themselves 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). rsyncd.conf ------------ 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 [uname-html] path=/home/uname/public_html read only = false uid = uname ---------------------
BEGIN:VCARD VERSION:2.1 N:Heikkila;Kauko FN:Kauko Heikkila ORG:University of Helsinki;Dept of Public Health TITLE:systems analyst TEL;WORK;VOICE:358-9-19127596 TEL;WORK;FAX:358-9-19127600 ADR;WORK:;;Box 41;Helsinki;;00014;Finland LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Box 41=0D=0AHelsinki 00014=0D=0AFinland X-WAB-GENDER:2 BDAY:19491104 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20021024T184438Z END:VCARD