diff --git a/setup-client.sh b/setup-client.sh index 2a7eb9b..4e7c35a 100644 --- a/setup-client.sh +++ b/setup-client.sh @@ -1 +1,4 @@ -sudo apt update && sudo apt install borgbackup -y \ No newline at end of file +sudo apt update && sudo apt install borgbackup -y + +ssh-keygen -t ed25519 -f /root/.ssh/borg_backup -N "" +ssh-copy-id -i /root/.ssh/borg_backup.pub pi@backup.lan \ No newline at end of file