> -----Original Message----- > From: Rui Miguel Seabra [mailto:rms@xxxxxxxx] > Sent: Thursday, January 29, 2004 6:14 PM > > On Thu, 2004-01-29 at 03:40, Ow Mun Heng wrote: > > Now.. Can anyone tell me how to set up rsync to use ssh?? > > > rsync -ave ssh seems to be the idea but i keep geting > >ssh_exchange_identification: Connection closed by remote host > >whenever i try. (after setting up passwordless logins using SSH, from > > server1 to server2 I can get from server2 to server1 anymore!) > > export RSYNC_RSH=ssh Hmm.. SNAFU here in my area. Didn't realise when I placed server2 into server1's hosts.deny list. After I removed it, I can get to Server1 but I'm still being asked a password. (Note: Server2 has server1's pub key but server1 do not have server2's public key. (I did not generate one) Instead I was trying out ForwardAgent yes and eval `ssh-agent`