Magda,

Problem 1 here is caused by sshd either not running
or not being installed on the receiving host (host2).

If you login to host2 and start up sshd you should be
in pretty good shape.

-----Original Message-----
From: Magdalena Hewryk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 9:46 AM
To: [EMAIL PROTECTED]
Subject: ssh


Hi,
I'm trying to use the "ssh" option instead of "rsh" but I am getting
some
errors.
Below are examples:

1.
# /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync -av -e ssh
/tmp/hello root@host2:/tmp
Secure connection to host2 refused; reverting to insecure method.
Using rsh.  WARNING: Connection will not be encrypted.
building file list ... done
hello
wrote 103 bytes  read 32 bytes  24.55 bytes/sec
total size is 5  speedup is 0.04

(if I add the whole path "-e /usr/local/bin/ssh" I get the same WARNING)

2. 
# /usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync --ssh
"/usr/local/bin/ssh" -av /tmp/hello root@host2:/tmp>
/usr/local/bin/rsync: unrecognized option `--ssh'

I do have ssh installed on the system and I can ssh to other machines:
# which ssh
/usr/local/bin/ssh

# ssh -l magda hostX
magda@hostX password: 
Last login: Thu Mar 22 09:24:59 2001 from 000.00.00.00

Any idea why ssh doesn't work for me?

Thanks,
Magda

Reply via email to