passwordless SSH Rsync [Was : Disk Layout/Partitioning Practices]

Bob Marcan bob at interstudio.homeunix.net
Thu Jan 29 14:23:32 UTC 2004


Felipe Alfaro Solana wrote:
> On Thu, 2004-01-29 at 11: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. 
> 
> 
> Have you tried using public key authentication for SSH or, even better,
> Kerberos IV? If my memory serves me well, there is a HOWTO at Red Hat
> describing how to use ssh-keygen to create a private/public key pair and
> how to add the public key to the remote server by placing it inside
> .ssh/authorized_keys. Alternatively, man sshd contains interesting
> information.
> 
> 

This is the script which can help.

-- 
  Bob Marcan                     mailto:bob.marcan at hermes-plus.si
  Aster^H^H...HermesPlus^H^H^H...S&T
  Slandrova ul. 2                       tel:    +386 (1) 5895-200
  1000 Ljubljana, Slovenia              http://www.hermes-plus.si

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssh_user_setup.sh
Type: application/x-sh
Size: 3159 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040129/3146f639/attachment-0001.sh>


More information about the fedora-list mailing list