passwordless SSH Rsync [Was : Disk Layout/Partitioning Practices]
Rui Miguel Seabra
rms at 1407.org
Thu Jan 29 11:25:15 UTC 2004
On Thu, 2004-01-29 at 10:38, Ow Mun Heng wrote:
> > -----Original Message-----
> > From: Rui Miguel Seabra [mailto:rms at 1407.org]
> > 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.
I'm sorry, I didn't understand your question properly.
Create a pair of ssh keys (priv and pub), probably passphrase-less.
Place the public key in server2's user's ~/.ssh/authorized_keys
That should do it.
Rui
--
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?
Please AVOID sending me WORD, EXCEL or POWERPOINT attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040129/e808abd1/attachment-0001.sig>
More information about the fedora-list
mailing list