Root may be able to log in to the remove system, but can the backuppc user?
Try this:
> r...@backup-server:/root/.ssh# sudo -u backuppc ssh -p 22200 -l root
> webserver whoami
I would bet that it's prompting you to accept the key for this new server.
On Mon, Jun 22, 2009 at 12:35, Nick Smith <[email protected]> wrote:
> Im in the process of adding some linux clients to the backuppc server.
>
> Ive successfully setup one server on the backup server.
>
> The second one is giving me problems.
>
> I set it up the same way, i can ssh from one box to the other as root
> with no password.
> The shared keys seem to be working correctly.
>
> Ive looked at the other box that works and the settings are identical.
>
> Ive upgraded all the boxes via yum and apt as per a suggestion i found
> on google but
> that didnt do anything for my problem, but now im running the latest
> version of openssl.
> After upgrading i did recreate the shared keys for ssh and put the new
> keys into the authorized_keys2 file
> on both machines.
>
> The error message as you all know im sure:
>
> full backup started for directory /
> Running: /usr/bin/ssh -q -x -p 22200 -l root webserver /usr/bin/rsync
> --server --sender --numeric-ids --perms --owner --group -D --links
> --hard-links --times --block-size=2048 --recursive --ignore-times . /
> Xfer PIDs are now 16974
> Rsync command pid is 16974
> Read EOF: Connection reset by peer
> Tried again: got 0 bytes
> Done: 0 files, 0 bytes
> Got fatal error during xfer (Unable to read 4 bytes)
> Backup aborted (Unable to read 4 bytes)
> Not saving this as a partial backup since it has fewer files than the
> prior one (got 0 and 0 files versus 0)
>
> Communication working both directions.
> r...@backup-server:/root/.ssh# ssh -p 22200 -l root webserver whoami
> root
>
> r...@server:~# ssh -p 22252 -l root backup-server whoami
> root
>
> The strange thing is the first server i setup works fine, which was
> running centos.
> This one that has been giving me fits all day is running ubuntu just
> like the backuppc box.
>
> Ive been working on this for the last 4 hours and everything on google
> seems to point to bad ssh keys, which seems to be working, just not
> from backuppc.
>
> Thanks for any help you can give.
>
>
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge
> conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference:
> $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
>
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
--
[EOM]
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/