BackupPC-users

Re: [BackupPC-users] Mac client ssh setup

2011-03-23 10:05:18
Subject: Re: [BackupPC-users] Mac client ssh setup
From: "Tyler J. Wagner" <tyler AT tolaris DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 23 Mar 2011 14:03:04 +0000
On Wed, 2011-03-23 at 08:37 -0500, Michael Conner wrote:
> I am using rsync xfer and have tried setting things up as I did for the linux 
> machine: created a public key in /var/lib/backuppc/.ssh. For the linux 
> machine, I copied that to root on the client with ssh-copy-id and everything 
> worked fine. One the Mac, root is not enabled, so I copied the key to the 
> user's home directory. That worked in that I can ssh from the BPC server to 
> the Mac user without a password. 
> 
> But when I try to run a backup on it, it fails with a "Unable to read 4 
> bytes" error. I've tried a lot changes to user and share in the host config 
> file, but nothing works (/ vs /user/home, backuppc vs mac user as user) and 
> nothing has worked. From some web searching I may have to get a key from the 
> Mac onto the BPC server, but there is also this 
> http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=MacOS_X_secure_setup
> in the wiki about setting up a backuppc user on the Mac.

You have two choices:

1. Enable the root account and put the key on the root account.

2. Back up via any user with sudo access, similar to the guide you
posted.

Regards,
Tyler

-- 
"Scientific theories can be altered by publishing a paper with
reproducible results, and political principles can be changed every two
to four years with an election, but if you want to change religious
principles you usually have to wait for a whole generation of clergy
to die."
   -- Soren Ragsdale


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>