From: Tyler J. W. <ty...@to...> - 2012-05-21 18:35:20
|
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 |