fix: add missing ssh-add

This commit is contained in:
2024-12-22 22:28:00 +00:00
parent 4cdf690ac5
commit 8b3b788974

View File

@@ -3,6 +3,9 @@ set -e
DIR=/home/sheppy/slapd_backup
eval `ssh-agent`
ssh-add ~/.ssh/id_rsa
cd
rsync -r --remove-source-files sheppy@192.168.122.112:$DIR /home/sheppy