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<mailto:r...@client.to>.backup' exit On the server, you can add shell access to the backuppc user with: usermod -s /bin/bash backuppc Thanks, Greg Harris On Oct 1, 2020, at 12:00 PM, David Hoskinson <david.hoskin...@astroshapes.com<mailto:david.hoskin...@astroshapes.com>> wrote: 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 = , lastBkupIdx = (FillCycle = 0, noFillCnt = ) Running: /usr/bin/rsync_bpc --bpc-top-dir /backup/astrobackup/ --bpc-host-name namesvr1 --bpc-share-name /etc/named/ --bpc-bkup-num 0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2 --bpc-log-level 6 --bpc-attrib-new -e /usr/bin/ssh\ -l\ root --rsync-path=/usr/bin/rsync --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --checksum --timeout=72000 namesvr1:/etc/named/ / full backup started for directory /etc/named/ Xfer PIDs are now 2766 This is the rsync child about to exec /usr/bin/rsync_bpc bpc_path_create(/backup/astrobackup//pc/namesvr1/0) bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0 Host key verification failed. rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver] bpc_sysCall_cleanup: doneInit = 1 RefCnt Deltas for new backup Uncompressed HT: Compressed HT: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 2 inode Parsing done: nFilesTotal = 0 rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2.0] rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.2.0]) Xfer PIDs are now Got fatal error during xfer (No files dumped for share /etc/named/) Backup aborted (No files dumped for share /etc/named/) I have created root ssh keys and added them to authorized_keys on the client. We have a older 3.3 version that is running, but this is a new install on a new box. I can't seem to find anything. I think the host key verification is the clue. Should i be able to login into the client from the server as backuppc? Currently no passwd is set on that account so i can't ssh to the client and accept the figure print. Thanks for any help or leads David Hoskinson Systems Administrator Ext 226 _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/