BackupPC-users

Re: [BackupPC-users] sshd on client?

2008-12-25 05:52:11
Subject: Re: [BackupPC-users] sshd on client?
From: "Nils Breunese (Lemonbit)" <nils AT lemonbit DOT com>
To: gayleard AT eircom DOT net, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 25 Dec 2008 11:49:54 +0100
Timothy Murphy wrote:

> Must an ssh server be running on BackPC clients?

If you'll be using SSH, then yes, because the BackupPC server needs to  
be able to login on the clients.

> Is there incidentally a simple test to determine
> if ssh is working as required by BackupPC?

See if the BackupPC user can login on the client without entering a  
password.

Switch to the backuppc user on the BackupPC server:
# su -s /bin/bash - backuppc

Try to login on the remote client:
# ssh username@client

You need to do this at least once after adding a new host, because you  
need to okay the SSH key fingerprints the first time.

> As far as I can see, one has to exchange keys
> between backuppc on the server and root on the clients.
> Is that correct?

The public key of the backuppc user needs to be in the authorized_keys  
file of the user account on the client. Also see 
http://backuppc.sourceforge.net/faq/ssh.html

Nils Breunese.

------------------------------------------------------------------------------
_______________________________________________
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/