BackupPC-users

Re: [BackupPC-users] Auto and GUI initiated backups don't work

2012-05-21 14:36:45
Subject: Re: [BackupPC-users] Auto and GUI initiated backups don't work
From: "Tyler J. Wagner" <tyler AT tolaris DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 21 May 2012 19:34:53 +0100
On 2012-05-21 17:28, Kanwar Ranbir Sandhu wrote:
> The new package sets the backuppc users's home dir to /var/lib/backuppc.
> That's where I put the .ssh dir and keys, and the .bashrc in which I
> have the keychain config.

Perhaps you have a saved entry in known_hosts that conflicts? That *shouldn't*
matter, but might. I suggest clearing it, and using this:

root@venkman:~# cat /var/lib/backuppc/.ssh/config 

# don't accept version 1
Protocol 2
# list hosts by name/IP, not unreadable hash
HashKnownHosts no
# add hosts automatically to known hosts list, without prompting
StrictHostKeyChecking no

Secondly, what are the permissions on the following?

root@venkman:~# ls -l /usr/share/backuppc/cgi-bin/index.cgi 
/usr/lib/backuppc/cgi-bin/index.cgi /var/lib/backuppc/.ssh/

-rwsr-x--- 1 backuppc www-data 6088 May 17 19:56 
/usr/lib/backuppc/cgi-bin/index.cgi
lrwxrwxrwx 1 backuppc www-data   39 May 17 19:56 
/usr/share/backuppc/cgi-bin/index.cgi -> ../../../lib/backuppc/cgi-bin/index.cgi

/var/lib/backuppc/.ssh/:
total 36
-rw-r--r-- 1 backuppc backuppc  353 Jan 27  2011 config
-rw------- 1 backuppc backuppc 1675 Dec 31  2010 id_rsa
-rw-r--r-- 1 backuppc backuppc  398 Jul  1  2011 id_rsa.pub
-rw-r--r-- 1 backuppc backuppc 6179 May 13 20:32 known_hosts

Regards,
Tyler

-- 
"Offending fundamentalists isn't my goal – but if it is an inevitable
side-effect of defending human rights, so be it."
   -- Johann Hari

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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/