diff --git a/gitops_router.sh b/gitops_router.sh index 3ceffb0..b874968 100644 --- a/gitops_router.sh +++ b/gitops_router.sh @@ -27,7 +27,7 @@ logO() { logO info "Received SSH_ORIGINAL_COMMAND: $SSH_ORIGINAL_COMMAND" if [[ "${SSH_ORIGINAL_COMMAND:-}" == "scp -t $ALLOWED_PATH" ]]; then - eval "$SSH_ORIGINAL_COMMAND" + exec scp -t "ALLOWED_PATH" exit fi