added ssh-agent

This commit is contained in:
Peter Wood
2025-06-10 21:36:44 -04:00
parent 36b4f5c667
commit 82d8e63ed7

View File

@@ -169,3 +169,8 @@ if command -v fabric &> /dev/null; then
fabric -y "$video_link" $transcript_flag
}
fi
if [ -z "$SSH_AUTH_SOCK" ]; then
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
fi