If you use:
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
in the backuppc user's ~/.ssh/config or some other equivalent, you can
bypass that manual check.
Of course it disables some security features, but for my purposes this
is acceptable.
Regards,
On 7/22/23 11:59 AM, Kenneth Porter wrote:
I'm setting up some Raspberry Pis and I set up BackupPC to back them up
using ssh+rsync. I installed the key in ~backuppc/.ssh/authorized_keys
but the initial backup was still failing. So I tried manually ssh'ing
into the Pi and discovered I was hitting the question to add the Pi to
known_hosts. I don't see this mentioned in the documentation. I'm not
sure where it would even go, but I wanted to mention it as I'll likely
forget this a year from now.
_______________________________________________
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/