[BackupPC-users] stumped by ssh

2012-10-10 Thread Robert E. Wooden
I have been using Backuppc for a few years now. Recently I upgraded my 
machine to newer, faster hardware. Hence, I have experience exchanging 
ssh keys, etc.


It seems I have one client that refuses to connect via ssh. When I 
exchanged keys and ran ssh -l root /[clientip]/ whoami the client 
properly returns 'root'. When I sudo -u backuppc 
/usr/share/backuppc/BackupPC_dump -v -f /[clienthostname]/ I get 'dump 
failed: Unable to read 4 bytes'.


I have checked versions of rsync, ssh and openssh-server on both the 
backuppc machine and the client. They are the same on both (both running 
Ubuntu 12.04LTS.)


I have tailed the clients auth.log file it shows sshd[10109]: 
Connection closed by /[backuppc-ip]/ [preauth] so, the backuppc machine 
is closing the connection. (I might be tailing the wrong file, I am not 
sure.)


Why won't this client connect?

--
Robert Wooden
Nashville, TN. USA

Computer Freedom? . . . Linux

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] stumped by ssh

2012-10-10 Thread Les Mikesell
On Wed, Oct 10, 2012 at 12:19 PM, Robert E. Wooden rbrte...@comcast.net wrote:
 I have been using Backuppc for a few years now. Recently I upgraded my
 machine to newer, faster hardware. Hence, I have experience exchanging ssh
 keys, etc.

 It seems I have one client that refuses to connect via ssh. When I exchanged
 keys and ran ssh -l root [clientip] whoami the client properly returns
 'root'.

Are you executing this test as the backuppc user?

-- 
   Les Mikesell
 lesmikes...@gmail.com

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] stumped by ssh

2012-10-10 Thread Ray Frush
What happens when you run

 sudo -u backuppc rsync -aP root@client:/tmp /tmp/client


On Wed, Oct 10, 2012 at 11:19 AM, Robert E. Wooden rbrte...@comcast.netwrote:

  I have been using Backuppc for a few years now. Recently I upgraded my
 machine to newer, faster hardware. Hence, I have experience exchanging ssh
 keys, etc.

 It seems I have one client that refuses to connect via ssh. When I
 exchanged keys and ran ssh -l root *[clientip]* whoami the client
 properly returns 'root'. When I sudo -u backuppc
 /usr/share/backuppc/BackupPC_dump -v -f *[clienthostname]* I get 'dump
 failed: Unable to read 4 bytes'.


-- 
Ray Frush   Either you are part of the solution
T:970.288.6223   or part of the precipitate.
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
 Avago Technologies, Inc. | Technical Computing | IT Engineer
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] stumped by ssh

2012-10-10 Thread Richard Shaw
On Wed, Oct 10, 2012 at 12:19 PM, Robert E. Wooden rbrte...@comcast.net wrote:
 I have been using Backuppc for a few years now. Recently I upgraded my
 machine to newer, faster hardware. Hence, I have experience exchanging ssh
 keys, etc.

 It seems I have one client that refuses to connect via ssh. When I exchanged
 keys and ran ssh -l root [clientip] whoami the client properly returns
 'root'. When I sudo -u backuppc /usr/share/backuppc/BackupPC_dump -v -f
 [clienthostname] I get 'dump failed: Unable to read 4 bytes'.

Quick check... When you ran ssh -l root [client ip] whoami, did you
run that as the backuppc user on the server or as root or another
user?

Richard

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/