Re: [BackupPC-users] First backup failing Host Key and No files dumped

2020-10-01 Thread David Hoskinson
Thanks everyone, its all working well. tip was perfect. From: "Adam Goryachev" To: "backuppc-users" Sent: Thursday, October 1, 2020 1:33:18 PM Subject: Re: [BackupPC-users] First backup failing Host Key and No files dumped CAUTION: This email originated from outside your organization.

Re: [BackupPC-users] First backup failing Host Key and No files dumped

2020-10-01 Thread David Hoskinson
bash-4.4$ ssh-copy-id -f -i /var/lib/BackupPC/.ssh/id_rsa.pub 'root@vpnsvr' /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/var/lib/BackupPC/.ssh/id_rsa.pub" Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'root@vpnsvr'" and check to make sure that

Re: [BackupPC-users] First backup failing Host Key and No files dumped

2020-10-01 Thread Adam Goryachev
On 2/10/20 03:26, David Hoskinson wrote: Investigating your tip but here is what i get Last login: Thu Oct  1 13:09:08 2020 from 10.60.2.25 [root@asbackup1 ~]# su -s /bin/bash backuppc bash-4.4$ ssh-copy-id -i .ssh/id_rsa.pub 'root@vpnsvr' /usr/bin/ssh-copy-id: ERROR: failed to open ID file

Re: [BackupPC-users] First backup failing Host Key and No files dumped

2020-10-01 Thread Greg Harris
I must have run into something similar at some point, as I have additional notes where I copied the .pub file to a location readable by backuppc and then used the ssh-copy-id command with that version of the file. Thanks, Greg Harris On Oct 1, 2020, at 1:26 PM, David Hoskinson

Re: [BackupPC-users] First backup failing Host Key and No files dumped

2020-10-01 Thread David Hoskinson
Investigating your tip but here is what i get Last login: Thu Oct 1 13:09:08 2020 from 10.60.2.25 [root@asbackup1 ~]# su -s /bin/bash backuppc bash-4.4$ ssh-copy-id -i .ssh/id_rsa.pub 'root@vpnsvr' /usr/bin/ssh-copy-id: ERROR: failed to open ID file '.ssh/id_rsa.pub': Permission denied

Re: [BackupPC-users] First backup failing Host Key and No files dumped

2020-10-01 Thread Greg Harris
David, The backuppc user generally doesn’t have shell access. You should be able to use something like: su -s /bin/bash backuppc ssh-copy-id -i .ssh/id_rsa.pub ‘r...@client.to.backup' exit On the server, you can add shell access to the backuppc user with: usermod -s

[BackupPC-users] First backup failing Host Key and No files dumped

2020-10-01 Thread David Hoskinson
Hello all I am doing a new install of BackupPC 4.4.0 and am having issues with my first backup XferLOG file /backup/astrobackup//pc/namesvr1/XferLOG.0.z created 2020-10-01 11:45:54 Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 0, newBkupIdx = 0, lastBkupNum