Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes
2009-06-25 10:35:35
Hi,
On Wed, Jun 24, 2009 at 09:46, Nick Smith<nick.smith79 AT gmail DOT com> wrote:
> From the backuppc server to the client1 it logs in without a password.
Good, a backup of this client should work just fine.
> From the backuppc server to the client2 it asks for a password.
Problem: you must add the SSH key of the backuppc user
(/var/lib/backuppc/.ssh/id_dsa.pub or id_rsa.pub in the BackupPC
server) to the authorized keys file of the root user
(/root/.ssh/authorized_keys or the deprecated authorized_keys2) on
client2.
> From the client1 to the backuppc server it asks for a password
If it worked with "sudo -u backuppc" then it is wrong in that client1
should not have a "backuppc" user. Remove it.
> >From the client2 to the backuppc server i get this error:
> # sudo -u backuppc ssh -p 22252 root@backup-server
> sudo: no passwd entry for backuppc!
Good, that is what is expected.
> Which is where i tried to add the backuppc user to the client machine
> to see if that was the problem.
Wrong. Remove it.
> If i understand correctly the client is acting as the ssh server?
Yes.
HTH,
Filipe
------------------------------------------------------------------------------
_______________________________________________
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>
|
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, (continued)
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Nick Smith
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Les Mikesell
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Matthias Meyer
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Nick Smith
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Nick Smith
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Chris Robertson
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Ryan Knapper
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Nick Smith
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Ryan Knapper
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Les Mikesell
- Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes,
Filipe Brandenburger <=
Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes, Holger Parplies
|
|
|