diff --git a/src/.local/bin/bk.sh b/src/.local/bin/bk.sh index 0b68f96..f0ca154 100755 --- a/src/.local/bin/bk.sh +++ b/src/.local/bin/bk.sh @@ -28,6 +28,9 @@ then ~/med ~/dox dogeystamp@lambda:/mnt/disk/uv/ fi +eval `ssh-agent` +ssh-add ~/.ssh/keys/lambda + if [ $ACTION = RECV ] then rsync -avzP --append-verify \ @@ -36,3 +39,4 @@ then dogeystamp@lambda:/mnt/disk/data/navidrome/mus/ ~/med/mus fi +kill $SSH_AGENT_PID