Tyler J. Wagner wrote:
> On Friday 23 April 2010 00:56:42 Saturn2888 wrote:
>> @Tyler J. Wagner
>> If it's confirmed Rsync works better than Rsyncd, I'll switch to it.
>>
>> The problem with SSH Rsync configurations is the public/private keys. I
>>  seem to always have problems getting those setup, but I've recently not
>>  had those problems so I can try that method, but I've never done it before
>>  on Windows machines and will probably have great difficulty doing so.
>>  DeltaCopy has an ssh.exe, but I believe that is only a client, not a
>>  server. I do have PuTTY on some of the machines if that's helpful at all.
> 
> I was referring to using rsync for Linux clients, not Windows.  For the 1 
> Windows server I archive, I use rsyncd.  I have not even tried rsyncd on 
> Linux.
> 
> Setting up SSH keys is easy:
> 
> On BackupPC server, as root:

Errr... On the backuppc side you want to do this as the backuppc user...

> ssh-keygen -b 2048 -t rsa
> 
> Set no passphrase.  Still on the server, do this for each client, entering 
> that client's root password.
> 
> ssh-copy-id -i /root/.ssh/id_rsa.pub r...@client
> 
> This is equivalent to copying /root/.ssh/id_rsa.pub from the server to each 
> client's /root/.ssh/authorized_keys file.  Note that both .ssh and 
> authorized_keys must be readable/writable/executable by the user only, not 
> group/other.

But what you really want it /home/backuppc/.ssh/id_rsa.pub appended to each 
remote's /root/.ssh/authorized_keys file (there could be other entries there 
already).

-- 
   Les Mikesell
    lesmikes...@gmail.com


------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to