Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 26th March 2008, 20:04
brunus brunus is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I've called it a victory too early!

i've restored the entire / in the target machine, which means even the /root/.ssh folders, which led to an unmatching couple of ssh-rsa keys, and consequently the backup is not working after the restore.

I've successfully created 2 new ssh-rsa keys, following your tutorial, and now I get to log password-less as backuppc becoming root:
$ ssh -l root 192.168.1.1 whoami
$ root

Nonetheless, I get the same hideous error:
Running: /usr/bin/ssh -q -x -l root efbujagateway /usr/bin/rsync --server --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --relative --ignore-times --recursive . /
Xfer PIDs are now 15583
Read EOF: Connection reset by peer
Tried again: got 0 bytes
Done: 0 files, 0 bytes
restore failed: Unable to read 4 bytes

I really don't see how I can troubleshoot this any further
Where should I look? Which logs?

thanks,

Paolo
Reply With Quote
Sponsored Links
  #12  
Old 28th March 2008, 15:09
brunus brunus is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Ok, back on again.
Apparently the problem resides on the fact that despite the backuppc server asks for a machine fingerprint when connecting for the first time to the target machine when doing the ssh-rsa key exchange via scp, this is not enough. In fact, I've tried a manual dump as suggested in the backuppc troubleshooting hits, and ssh did ask once more to add the client's fingerprint to known_hosts before performing the dump. After that, everything started to work normally again.

paolo
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backuppc Installation Error nidhintomson Server Operation 2 9th January 2008 06:55
Backuppc Error on Install... matthewjamesnewton HOWTO-Related Questions 4 2nd November 2007 14:58
backuppc restore raptor2552 HOWTO-Related Questions 6 3rd July 2007 00:12
Backuppc Rsync Windows neemers HOWTO-Related Questions 4 10th May 2007 01:06
SSH port forwarding (SQLYog Tunnel) mastorna Server Operation 0 22nd June 2006 02:16


All times are GMT +2. The time now is 10:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.